upgrade deps and fix some lints

This commit is contained in:
Fabian Freund
2025-02-07 21:42:58 +01:00
parent a12ef8244f
commit fe4baa58f5
24 changed files with 47 additions and 36 deletions
@@ -8,8 +8,10 @@ class GeckoEngineSettingsService {
GeckoEngineSettingsService({GeckoEngineSettingsApi? api})
: _api = api ?? _apiInstance;
Future<void> setDefaultSettings(GeckoEngineSettings settings,
{bool updateRuntime = true}) {
Future<void> setDefaultSettings(
GeckoEngineSettings settings, {
bool updateRuntime = true,
}) {
return updateRuntime
? _api.updateRuntimeSettings(settings)
: _api.setDefaultSettings(settings);
@@ -604,7 +604,12 @@ class AutocompleteResult {
final int totalItems;
AutocompleteResult(
this.input, this.text, this.url, this.source, this.totalItems);
this.input,
this.text,
this.url,
this.source,
this.totalItems,
);
}
// /// Represents all the different supported types of data that can be found from long clicking
@@ -17,7 +17,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
lint: ^2.3.0
pigeon: ^22.7.4
pigeon: ^24.1.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
@@ -5,6 +5,7 @@ import 'package:sqlite3/sqlite3.dart';
const String _libName = 'vec0';
// ignore: avoid_classes_with_only_static_members
class Sqlite3Vec {
static void ensureExtensionLoaded() {
final libPath = switch (Platform.operatingSystem) {