From c2dfd91575fce02b9a46ca157bb30fa8e765d1c7 Mon Sep 17 00:00:00 2001 From: Otto Otsamo Date: Thu, 17 Aug 2023 14:43:39 +0300 Subject: [PATCH] Fix linter violations --- example/pubspec.yaml | 4 ++-- .../components/main_content/wolt_modal_sheet_top_bar.dart | 3 --- .../lib/router/playground_router_delegate.dart | 4 +--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 677da90c..2531c2ed 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -9,13 +9,13 @@ environment: dependencies: flutter: sdk: flutter + wolt_modal_sheet: + path: .. dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^2.0.0 - wolt_modal_sheet: - path: .. flutter: uses-material-design: true diff --git a/lib/src/content/components/main_content/wolt_modal_sheet_top_bar.dart b/lib/src/content/components/main_content/wolt_modal_sheet_top_bar.dart index 00550a21..7fcf03c0 100644 --- a/lib/src/content/components/main_content/wolt_modal_sheet_top_bar.dart +++ b/lib/src/content/components/main_content/wolt_modal_sheet_top_bar.dart @@ -1,7 +1,4 @@ -import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -import 'package:wolt_modal_sheet/src/modal_page/wolt_modal_sheet_page.dart'; -import 'package:wolt_modal_sheet/src/utils/wolt_layout_transformation_utils.dart'; class WoltModalSheetTopBar extends StatelessWidget { /// The height of the top bar, defined by the user. diff --git a/playground_navigator2/lib/router/playground_router_delegate.dart b/playground_navigator2/lib/router/playground_router_delegate.dart index 649da72a..a54b8de6 100644 --- a/playground_navigator2/lib/router/playground_router_delegate.dart +++ b/playground_navigator2/lib/router/playground_router_delegate.dart @@ -1,15 +1,13 @@ import 'dart:async'; -import 'package:demo_ui_components/demo_ui_components.dart'; import 'package:flutter/material.dart'; -import 'package:playground_navigator2/bloc/router_state.dart'; import 'package:playground_navigator2/bloc/router_cubit.dart'; +import 'package:playground_navigator2/bloc/router_state.dart'; import 'package:playground_navigator2/router/playground_router_configuration.dart'; import 'package:playground_navigator2/router/router_pages/home_page.dart'; import 'package:playground_navigator2/router/router_pages/sheet_page.dart'; import 'package:playground_navigator2/router/router_pages/unknown_page.dart'; import 'package:wolt_modal_sheet/wolt_modal_sheet.dart'; -import 'package:wolt_responsive_layout_grid/wolt_responsive_layout_grid.dart'; class PlaygroundRouterDelegate extends RouterDelegate with ChangeNotifier, PopNavigatorRouterDelegateMixin {