Skip to content
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

Allow useRootNavigator as a config #97

Closed
leonardoj-cit opened this issue Jul 30, 2021 · 2 comments
Closed

Allow useRootNavigator as a config #97

leonardoj-cit opened this issue Jul 30, 2021 · 2 comments

Comments

@leonardoj-cit
Copy link

I believe that allowing useRootNavigator as a config would benefit the component.

This would be useful if we want to show the modal on top of a bottom navigator bar for example.

I saw that on the code you have this:

 confirmed = await showModalBottomSheet(
          context: context,
          shape: modalStyle.shape,
          clipBehavior: modalStyle.clipBehavior ?? Clip.none,
          backgroundColor: modalStyle.backgroundColor,
          elevation: modalStyle.elevation,
          isDismissible: modalConfig.barrierDismissible,
          barrierColor: modalConfig.barrierColor,
          enableDrag: modalConfig.enableDrag,
          builder: (_) => modal,
        );

So maybe it is just an extra config for the useRootNavigator as a default false.

What do you think?

@vasilich6107
Copy link

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

@davigmacode
Copy link
Owner

Hi everyone,

I'm sorry to announce that I'm no longer maintaining the smart_select package. It's been a great project, but it's become too difficult to maintain.

In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.

I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.

Thanks for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants