forked from akbarpulatov/flutter_awesome_select
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I am trying to just have a readonly TextField (or a button) where it will trigger the bottom sheet, is it possible with this package?
What I tried so far.
SmartSelect<String>.single(
choiceType: S2ChoiceType.chips,
choiceLayout: S2ChoiceLayout.wrap,
modalType: S2ModalType.bottomSheet,
modalHeader: false,
tileBuilder: (context, value) {
return FillProfileTextField(
labelText: 'gender',
// How to trigger the bottom sheet on TextField focus
);
},
title: 'gender',
selectedValue: 'non_binary',
choiceItems: options,
onChange: (state) => print(state.value)),
Metadata
Metadata
Assignees
Labels
No labels