reactive_awesome_select library

Classes

ReactiveSmartSelectMultiple<T, V>
A ReactiveSmartSelectMultiple that contains a AdvancedSwitch.
ReactiveSmartSelectSingle<T, V>
A ReactiveSmartSelectSingle that contains a AdvancedSwitch.
S2Builder<T>
collection of builder
S2Choice<T>
Choice data configuration
S2ChoiceConfig
Choices configuration
S2ChoiceLoaderInfo<T>
S2ChoiceStyle
Configure choices item style
S2ChosenData<T>
Chosen data class
S2ChosenNotifier<T>
S2Group<T>
choice group data
S2GroupConfig
Choices configuration
S2GroupHeader
Choice group header widget
S2GroupHeaderStyle
Configure choices group header style
S2GroupSort
Comparator function to sort the choice group enhanced with predefined function
S2ModalConfig
Modal configuration
S2ModalHeaderStyle
Configure modal option header style
S2ModalStyle
Configure modal style
S2MultiBuilder<T>
Builder collection of multiple choice widget
S2MultiChosen<T>
S2MultiSelected<T>
S2MultiSelection<T>
S2MultiState<T>
State for Multiple Choice
S2Selected<T>
State of the selected choice
S2Selection<T>
S2SingleBuilder<T>
Builder collection of single choice widget
S2SingleChosen<T>
S2SingleSelected<T>
S2SingleSelection<T>
S2SingleState<T>
State for Single Choice
S2State<T>
Smart Select State
S2Text
Text widget that supports highlight
S2Tile<T>
Default trigger/tile widget
S2TileChips
Chips tile/trigger widget
SmartSelect<T>
SmartSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input.

Enums

S2ChoiceControl
Where to place the control in widgets that use ListTile to position a control next to a label.
S2ChoiceLayout
Layout of choice item
S2ChoiceType
Type of choice input
S2ModalType
Target to open choices list

Mixins

S2MultiChosenData<T>
Chosen data for single choice widget
S2MultiChosenNotifier<T>
S2SingleChosenData<T>
Chosen data for single choice widget
S2SingleChosenNotifier<T>

Constants

decorationInvisible → const InputDecoration

Typedefs

S2ChoiceListBuilder<T> = Widget? Function(S2Choice<T> choice)
A builder for choice list item widget
S2ChoiceLoader<T> = Future<List<S2Choice<T>>> Function(S2ChoiceLoaderInfo<T> info)
S2ChoiceSelect<A, B> = void Function(A state, B choice)
Callback for event choice select
S2ComplexWidgetBuilder<A, B> = Widget Function(BuildContext context, A value, B anotherValue)
A complex builder
S2ListWidgetBuilder<T> = List<Widget> Function(BuildContext context, T value)
A common list of widget builder
S2ModalClose<T> = void Function(T state, bool confirmed)
Callback for event modal closed
S2ModalOpen<T> = void Function(T state)
Callback for event modal opened
S2ModalWillClose<T> = Future<bool> Function(T state)
Callback for event modal will close
S2ModalWillOpen<T> = Future<bool> Function(T state)
Callback for event modal will open
S2MultiSelectedResolver<T> = Future<List<S2Choice<T>>?> Function(List<T>? value)
Function to return a List of S2Choice from a List of value
S2OptionProp<E, R> = R Function(int index, E item)
S2SingleSelectedResolver<T> = Future<S2Choice<T>?> Function(T value)
Function to return a single S2Choice from a single value
S2SortComparator<E> = int Function(E a, E b)
Comparator function to use in List.sort
S2Validation<T> = String Function(T value)
Validation callback
S2WidgetBuilder<T> = Widget Function(BuildContext context, T value)
A common widget builder