app_select_fields 0.0.4
app_select_fields: ^0.0.4 copied to clipboard
Material 3 single- and multi-select form fields for Flutter. Opens a draggable bottom sheet with search and lazy pagination — themeable, form-integrated, no extra dependencies.
0.0.4 #
- Fix
AppSingleSelectshowing the plain hint (instead of a visible value) when a pre-setvalueisn't in the currently loadedoptionspage — e.g. an edit form backed by lazy pagination whose matching page hasn't arrived yet. - Add
errorTexttoAppMultiSelectto matchAppSingleSelect, letting callers show a validation message without aForm/validator. - Document that
options(andvaluesonAppMultiSelect) must be a new list instance on change, not the same list mutated in place, since cached display state only recomputes on an identity check. - Fix a
.gitignoretypo (example/andriod/→example/android/) that left the real Android platform folder untracked-but-not-ignored. - Add
errorTextStyleto both widgets and toAppSelectStyle, to override the validation message's text style — the widget-level one wins when both are set.
0.0.3 and 0.0.2 #
- Add
noRecordWidgetto both widgets for a custom empty-state message. - Add
displaySelectedCounttoAppMultiSelect(defaulttrue) to optionally hide the sheet's "N selected" summary chip. - Add
inputDecorationStyle,inputValueStyle,hintStyle, andinputLabelStyleto both widgets and toAppSelectStyle, for direct style overrides — the widget-level one wins when both are set. RenamesAppSelectStyle.labelStyletoinputLabelStyleandAppSelectStyle.textStyletoinputValueStyleto match. - Add
selectedInputTemplateandoptionTemplateto both widgets, letting callers replace the defaultTextwith a fully custom widget for the trigger's selected-value display and each option-sheet row, given that option'slabelandvalue. - Add
cancelButtonLabelandcancelButtonStyleto both widgets (the latter also onAppSelectStyle), andconfirmButtonLabel/confirmButtonStyletoAppMultiSelect, to override the sheet's action button text and style. (AppSingleSelect's sheet has no confirm button — it closes on tap.)
0.0.1 #
- Initial release:
AppSingleSelectandAppMultiSelectbottom-sheet fields.