Skip to content

Commit

Permalink
Update some dependencies, fix some lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfccp committed Feb 9, 2023
1 parent 526af22 commit 5f5484f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions update_available/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class UpdateAvailableExample extends StatefulWidget {
const UpdateAvailableExample({Key? key}) : super(key: key);

@override
_UpdateAvailableExampleState createState() => _UpdateAvailableExampleState();
State<UpdateAvailableExample> createState() => _UpdateAvailableExampleState();
}

class _UpdateAvailableExampleState extends State<UpdateAvailableExample> {
Expand All @@ -24,7 +24,7 @@ class _UpdateAvailableExampleState extends State<UpdateAvailableExample> {
color: green,
pageRouteBuilder: <T>(RouteSettings settings, WidgetBuilder builder) {
return PageRouteBuilder(
pageBuilder: (context, __, ___) => builder(context),
pageBuilder: (context, animation, secondaryAnimation) => builder(context),
);
},
home: Container(
Expand Down
4 changes: 3 additions & 1 deletion update_available/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ environment:
flutter: ">=2.8.0"

dependencies:
flutter:
sdk: flutter
update_available:
path: ..

dev_dependencies:
flutter_lints: ^1.0.4
flutter_lints: ^2.0.0

dependency_overrides:
update_available_android:
Expand Down
2 changes: 1 addition & 1 deletion update_available/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
update_available_platform_interface: ^3.0.0

dev_dependencies:
flutter_lints: ^1.0.4
flutter_lints: ^2.0.0

flutter:
plugin:
Expand Down
2 changes: 1 addition & 1 deletion update_available_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
update_available_platform_interface: ^3.0.0

dev_dependencies:
flutter_lints: ^1.0.4
flutter_lints: ^2.0.0

flutter:
plugin:
Expand Down
2 changes: 1 addition & 1 deletion update_available_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.4
flutter_lints: ^2.0.0

flutter:
plugin:
Expand Down
4 changes: 2 additions & 2 deletions update_available_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:

dependencies:
meta: ^1.7.0
plugin_platform_interface: ^2.1.2
plugin_platform_interface: ^2.1.3

dev_dependencies:
flutter_lints: ^1.0.4
flutter_lints: ^2.0.0

0 comments on commit 5f5484f

Please sign in to comment.