Skip to content
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
4 changes: 2 additions & 2 deletions android/local.properties

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be fair, I don't think this should be pushed at all

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sdk.dir=/Users/hamidwakili/Library/Android/sdk
flutter.sdk=/Users/hamidwakili/flutter
sdk.dir=C:\\Users\\masterdev\\AppData\\Local\\Android\\Sdk
flutter.sdk=C:\\Users\\masterdev\\fvm\\versions\\stable
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.12.30-dev.1"
version: "1.12.30"
async:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions lib/flushbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ class Flushbar<T> extends StatefulWidget {
route.FlushbarRoute<T?>? flushbarRoute;

/// Show the flushbar. Kicks in [FlushbarStatus.IS_APPEARING] state followed by [FlushbarStatus.SHOWING]
Future<T?> show(BuildContext context) async {
Future<T?> show(BuildContext context, {bool useRootNavigator = false}) async {
flushbarRoute = route.showFlushbar<T>(
context: context,
flushbar: this,
) as route.FlushbarRoute<T?>;

return await Navigator.of(context, rootNavigator: false)
return await Navigator.of(context, rootNavigator: useRootNavigator)
.push(flushbarRoute as Route<T>);
}

Expand Down