Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Sep 26, 2024
1 parent f429790 commit 30676f5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion sqflite_common_server/lib/src/sqflite_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'package:sqflite_common_server/src/sqflite_server.dart';
import 'package:tekartik_common_utils/common_utils_import.dart' hide devPrint;
import 'package:tekartik_web_socket_io/web_socket_io.dart';

import 'import.dart';

class ServerInfo {
bool? supportsWithoutRowId;
Expand Down
1 change: 0 additions & 1 deletion sqflite_common_server/lib/src/sqflite_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import 'package:sqflite_common_server/src/sqflite_import.dart';
import 'package:tekartik_common_utils/common_utils_import.dart' hide devPrint;
import 'package:tekartik_web_socket_io/web_socket_io.dart';

import 'import.dart';

const useNullResponseWorkaround = true;

Expand Down
2 changes: 1 addition & 1 deletion sqflite_server_app/lib/page/main_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class _SqfliteServerHomePageState extends State<SqfliteServerHomePage> {
try {
await app.startServer(port,
notifyCallback: (bool response, String method, Object? param) {
if (response == false) {
if (!response) {
void logOperation(Map map) {
var sql = (map['sql'] as String?)?.trim();
if (sql != null) {
Expand Down
4 changes: 2 additions & 2 deletions sqflite_server_app/lib/src/prefs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ class Prefs {
}

Future setShowConsole(bool showConsole) async {
this.showConsole = showConsole != false;
this.showConsole = showConsole;
var intValue = this.showConsole ? 1 : 0;
await _setIntValue('showConsole', intValue);
}

Future setAutoStart(bool autoStart) async {
this.autoStart = autoStart == true;
this.autoStart = autoStart;
var intValue = this.autoStart ? 1 : 0;
await _setIntValue('autoStart', intValue);
}
Expand Down
2 changes: 1 addition & 1 deletion sqflite_server_app/lib/src/test/server_main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:dev_build/menu/menu.dart';
import 'package:sqflite_common_server/sqflite_server.dart';
import 'package:sqflite_server_app/main.dart';
import 'package:tekartik_test_menu/test.dart';

int defaultPort = sqfliteServerDefaultPort;

Expand Down
10 changes: 5 additions & 5 deletions sqflite_server_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ dependencies:
sqflite_common_ffi:
sqflite_common:
path:
dev_dependencies:
process_run:
flutter_test:
sdk: flutter
tekartik_test_menu_flutter:
git:
url: https://github.com/tekartik/test_menu_flutter
ref: dart3a
path: test_menu_flutter
version: '>=0.2.4'

dev_dependencies:
process_run:
flutter_test:
sdk: flutter
flutter_launcher_icons: ">=0.6.1"
dev_build:
tekartik_lints_flutter:
Expand Down

0 comments on commit 30676f5

Please sign in to comment.