We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi ,
The show(...) method requires an additional argument to allow for root navigators.
Its advised to therefore extend the existing show :
show({ @required BuildContext context, Text title, @required Text description, @required CustomSheetColor color, @required SweetSheetAction positive, SweetSheetAction negative, IconData icon, })
and change to :
show({ @required BuildContext context, Widget title, @required Widget description, @required CustomSheetColor color, @required SweetSheetAction positive, SweetSheetAction negative, bool useRootNavigator = false, IconData icon, }) {
Here you can see a rootNavigator has been added. You will then amend your showModalBottomSheet to make use of this boolean :
showModalBottomSheet( context: context, useRootNavigator: useRootNavigator,
The text was updated successfully, but these errors were encountered:
done. thanks
Sorry, something went wrong.
No branches or pull requests
Hi ,
The show(...) method requires an additional argument to allow for root navigators.
Its advised to therefore extend the existing show :
and change to :
Here you can see a rootNavigator has been added. You will then amend your showModalBottomSheet to make use of this boolean :
The text was updated successfully, but these errors were encountered: