Skip to content

fix: update stacked_generator version and adjust imports in generated files #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions example/test/helpers/test_helpers.mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,8 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
String? buttonTitle = r'Ok',
_i6.Color? buttonTitleColor,
bool? barrierDismissible = false,
_i4.RouteSettings? routeSettings,
_i4.GlobalKey<_i4.NavigatorState>? navigatorKey,
_i2.DialogPlatform? dialogPlatform,
}) =>
(super.noSuchMethod(
Expand All @@ -571,6 +573,8 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
#buttonTitle: buttonTitle,
#buttonTitleColor: buttonTitleColor,
#barrierDismissible: barrierDismissible,
#routeSettings: routeSettings,
#navigatorKey: navigatorKey,
#dialogPlatform: dialogPlatform,
},
),
Expand All @@ -597,6 +601,9 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
bool? barrierDismissible = false,
String? barrierLabel = r'',
bool? useSafeArea = true,
_i4.RouteSettings? routeSettings,
_i4.GlobalKey<_i4.NavigatorState>? navigatorKey,
_i4.RouteTransitionsBuilder? transitionBuilder,
dynamic customData,
R? data,
}) =>
Expand All @@ -621,6 +628,9 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
#barrierDismissible: barrierDismissible,
#barrierLabel: barrierLabel,
#useSafeArea: useSafeArea,
#routeSettings: routeSettings,
#navigatorKey: navigatorKey,
#transitionBuilder: transitionBuilder,
#customData: customData,
#data: data,
},
Expand All @@ -638,6 +648,7 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
String? confirmationTitle = r'Ok',
_i6.Color? confirmationTitleColor,
bool? barrierDismissible = false,
_i4.RouteSettings? routeSettings,
_i2.DialogPlatform? dialogPlatform,
}) =>
(super.noSuchMethod(
Expand All @@ -652,6 +663,7 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
#confirmationTitle: confirmationTitle,
#confirmationTitleColor: confirmationTitleColor,
#barrierDismissible: barrierDismissible,
#routeSettings: routeSettings,
#dialogPlatform: dialogPlatform,
},
),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dev_dependencies:
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:
# flutter:
# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
Expand Down