From e1c653ced9ab99d6871e9e40597af88848b7dc85 Mon Sep 17 00:00:00 2001 From: Ellet Date: Mon, 4 Dec 2023 15:40:48 +0300 Subject: [PATCH] Update the example --- example/lib/main.dart | 6 +----- example/pubspec.yaml | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index f1c2d7334..e263fb254 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,4 +1,4 @@ -import 'package:flutter/foundation.dart' show defaultTargetPlatform, kIsWeb; +import 'package:flutter/foundation.dart' show kIsWeb; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_localizations/flutter_localizations.dart' @@ -8,7 +8,6 @@ import 'package:flutter_localizations/flutter_localizations.dart' GlobalWidgetsLocalizations; import 'package:flutter_quill/flutter_quill.dart' show Document; import 'package:flutter_quill/translations.dart' show FlutterQuillLocalizations; -import 'package:gal_linux/gal_linux.dart'; import 'package:hydrated_bloc/hydrated_bloc.dart' show HydratedBloc, HydratedStorage; import 'package:path_provider/path_provider.dart' @@ -30,9 +29,6 @@ void main() async { ? HydratedStorage.webStorageDirectory : await getApplicationDocumentsDirectory(), ); - if (defaultTargetPlatform == TargetPlatform.linux && !kIsWeb) { - GalPluginLinux.registerWith(); - } runApp(const MyApp()); } diff --git a/example/pubspec.yaml b/example/pubspec.yaml index ddeb2725d..441cb8355 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -59,11 +59,6 @@ dependency_overrides: path: ../flutter_quill_test quill_html_converter: path: ../packages/quill_html_converter - - gal_linux: - git: - url: https://github.com/freshtechtips/gal-linux.git - ref: main gal: git: