flutter_smart_select icon indicating copy to clipboard operation
flutter_smart_select copied to clipboard

Allow useRootNavigator as a config

Open leonardoj-cit opened this issue 4 years ago • 1 comments

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?

leonardoj-cit avatar Jul 30 '21 08:07 leonardoj-cit

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

vasilich6107 avatar Nov 12 '21 23:11 vasilich6107

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.

davigmacode avatar Aug 26 '23 10:08 davigmacode