Skip to content

Commit

Permalink
fix #506
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Sep 19, 2021
1 parent 0cbaa4b commit 0fc32b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion flutter_modular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [4.0.0+6] - 2021-09-16
## [4.0.0+7] - 2021-09-16

* New documentation is here! [https://modular.flutterando.com.br](https://modular.flutterando.com.br).
* Modular design now uses Layered Architecture (Clean Architecture) with 100% code coverage.
Expand Down
4 changes: 2 additions & 2 deletions flutter_modular/lib/src/presenter/models/child_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class ChildRoute<T> extends ParallelRoute<T> {
required ModularChild child,
CustomTransition? customTransition,
List<ParallelRoute> children = const [],
Duration duration = const Duration(milliseconds: 300),
TransitionType transition = TransitionType.defaultTransition,
Duration? duration,
TransitionType? transition,
List<RouteGuard> guards = const [],
}) : assert(name.startsWith('/'), 'The name must always start with a /'),
assert(children.where((e) => e.name == name).isEmpty,
Expand Down
4 changes: 2 additions & 2 deletions flutter_modular/lib/src/presenter/models/module_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class ModuleRoute<T> extends ParallelRoute<T> {
factory ModuleRoute(
String name, {
required Module module,
TransitionType transition = TransitionType.defaultTransition,
TransitionType? transition,
CustomTransition? customTransition,
Duration duration = const Duration(milliseconds: 300),
Duration? duration,
List<RouteGuard> guards = const [],
}) {
final route = ModuleRoute<T>._start(
Expand Down
2 changes: 1 addition & 1 deletion flutter_modular/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_modular
description: Smart project structure with dependency injection and route management
version: 4.0.0+6
version: 4.0.0+7
homepage: https://github.com/Flutterando/modular

environment:
Expand Down

0 comments on commit 0fc32b4

Please sign in to comment.