From ec3794bc074c93ac06e7b996faa0a8b67f4c1057 Mon Sep 17 00:00:00 2001 From: Oscar Date: Mon, 20 Nov 2023 10:54:43 +0100 Subject: [PATCH] chore: analyzer --- lib/app/view/app.dart | 2 +- lib/counter/view/counter_page.dart | 4 ++-- test/app/view/app_test.dart | 2 +- test/counter/cubit/counter_cubit_test.dart | 3 +-- test/counter/view/counter_page_test.dart | 3 +-- test/helpers/pump_app.dart | 2 +- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/app/view/app.dart b/lib/app/view/app.dart index 6a861e4..0a1832c 100644 --- a/lib/app/view/app.dart +++ b/lib/app/view/app.dart @@ -1,6 +1,6 @@ -import 'package:flutter/material.dart'; import 'package:dash_ai_search/counter/counter.dart'; import 'package:dash_ai_search/l10n/l10n.dart'; +import 'package:flutter/material.dart'; class App extends StatelessWidget { const App({super.key}); diff --git a/lib/counter/view/counter_page.dart b/lib/counter/view/counter_page.dart index 828adc9..422e6ab 100644 --- a/lib/counter/view/counter_page.dart +++ b/lib/counter/view/counter_page.dart @@ -1,7 +1,7 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:dash_ai_search/counter/counter.dart'; import 'package:dash_ai_search/l10n/l10n.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_bloc/flutter_bloc.dart'; class CounterPage extends StatelessWidget { const CounterPage({super.key}); diff --git a/test/app/view/app_test.dart b/test/app/view/app_test.dart index 772f955..80aa5a6 100644 --- a/test/app/view/app_test.dart +++ b/test/app/view/app_test.dart @@ -1,6 +1,6 @@ -import 'package:flutter_test/flutter_test.dart'; import 'package:dash_ai_search/app/app.dart'; import 'package:dash_ai_search/counter/counter.dart'; +import 'package:flutter_test/flutter_test.dart'; void main() { group('App', () { diff --git a/test/counter/cubit/counter_cubit_test.dart b/test/counter/cubit/counter_cubit_test.dart index 13a685b..2f649c1 100644 --- a/test/counter/cubit/counter_cubit_test.dart +++ b/test/counter/cubit/counter_cubit_test.dart @@ -1,7 +1,6 @@ import 'package:bloc_test/bloc_test.dart'; -import 'package:flutter_test/flutter_test.dart'; - import 'package:dash_ai_search/counter/counter.dart'; +import 'package:flutter_test/flutter_test.dart'; void main() { group('CounterCubit', () { diff --git a/test/counter/view/counter_page_test.dart b/test/counter/view/counter_page_test.dart index 476756e..79ac31d 100644 --- a/test/counter/view/counter_page_test.dart +++ b/test/counter/view/counter_page_test.dart @@ -1,11 +1,10 @@ import 'package:bloc_test/bloc_test.dart'; +import 'package:dash_ai_search/counter/counter.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:mocktail/mocktail.dart'; -import 'package:dash_ai_search/counter/counter.dart'; - import '../../helpers/helpers.dart'; class MockCounterCubit extends MockCubit implements CounterCubit {} diff --git a/test/helpers/pump_app.dart b/test/helpers/pump_app.dart index 9bf9c88..0c0b576 100644 --- a/test/helpers/pump_app.dart +++ b/test/helpers/pump_app.dart @@ -1,6 +1,6 @@ +import 'package:dash_ai_search/l10n/l10n.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:dash_ai_search/l10n/l10n.dart'; extension PumpApp on WidgetTester { Future pumpApp(Widget widget) {