Skip to content

Commit

Permalink
SDK change for more compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lopes authored and Michael Lopes committed Feb 21, 2024
1 parent 49e7a03 commit 0c0afa3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-beta.1

* Initial publish

## 1.0.0-beta.2

* Add documentation
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1"
version: "1.0.0-beta.2"
sky_engine:
dependency: transitive
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/src/simple_navigator_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'simple_navigator_route.dart';
import 'simple_navigator_stack_handler.dart';
import 'simple_navigator_stack_widget.dart';

final class SimpleNavigatorDelegate extends RouterDelegate<Uri>
class SimpleNavigatorDelegate extends RouterDelegate<Uri>
with ChangeNotifier
implements ISimpleNavigator {
late final GlobalKey<NavigatorState> _navigatorKey;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/simple_navigator_params.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'simple_navigator_route.dart';

final class SimpleNavigatorParams {
class SimpleNavigatorParams {
final List<SimpleNavigatorRoute> routes;
final WidgetBuilder? splash;
final WidgetBuilder? notFound;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/simple_navigator_parser.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

final class SimpleNavigatorParser extends RouteInformationParser<Uri> {
class SimpleNavigatorParser extends RouteInformationParser<Uri> {
@override
Future<Uri> parseRouteInformation(RouteInformation routeInformation) =>
SynchronousFuture(routeInformation.uri);
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: simple_navigator
description: This package comes with a simpler alternative to use than the go_router. If your project requires more complex routing, use the go_router.
version: 1.0.0-beta.1
version: 1.0.0-beta.3
homepage: https://github.com/michaelopes/simple_navigator
license: MIT

environment:
sdk: '>=3.1.3 <4.0.0'
sdk: '>=2.18.0 <4.0.0'
flutter: ">=1.17.0"

dependencies:
Expand Down

0 comments on commit 0c0afa3

Please sign in to comment.