adaptive_selector

Creator: coderz1093

Last updated:

0 purchases

adaptive_selector Image
adaptive_selector Images
Add to Cart

Description:

adaptive selector

adaptive_selector













Simple and robust Selector that adaptive for all platform.








Getting started #
Basic usage #
// Create list option
final options = SelectorType.values
.map((e) => AdaptiveSelectorOption(label: e.name, value: e))
.toList();
// Apply option to AdaptiveSelector
AdaptiveSelector(
options: options,
initialOption: options.first,
type: SelectorType.menu,
allowClear: false,
),
copied to clipboard
Async selector #
AdaptiveSelector(
options: asyncOptions,
decoration: const InputDecoration(
hintText: 'Select school',
),
loading: loading,
onSearch: handleSearch,
hasMoreData: hasMore,
onLoadMore: handleLoadMore,
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.