VoOverlayOptions<T> class
- Annotations
Constructors
- VoOverlayOptions.builder({String? title, Widget heading(BuildContext context)?, required Widget builder(BuildContext context)})
-
factory
-
VoOverlayOptions.multiSelect({String? title, Widget heading(BuildContext context)?, required List<
T> ? items, List<T> ? favoriteItems, VoOverlayTile<T> itemTile = const VoOverlayTile(), Stream<List< ? itemsAsStream, List<T> >T> ? selectedItems, String searchHint = 'Search...', VoOverlaySearchCallback<T> ? onSearch, VoOverlayItemComparer<T> ? itemComparer, bool closeOnSelect = false, String confirmLabel = 'Done', String? clearLabel = 'Clear', int minSelection = 0, int? maxSelection}) -
factory
-
VoOverlayOptions.singleSelect({String? title, Widget heading(BuildContext context)?, required List<
T> ? items, List<T> ? favoriteItems, Stream<List< ? itemsAsStream, T? selectedItem, VoOverlayTile<T> >T> itemTile = const VoOverlayTile(), String searchHint = 'Search...', VoOverlaySearchCallback<T> ? onSearch, VoOverlayItemComparer<T> ? itemComparer, bool closeOnSelect = true}) -
factory
Properties
- builder → Widget Function(BuildContext context)?
-
final
- clearLabel → String?
-
final
- closeOnSelect → bool
-
final
- confirmLabel → String
-
final
-
favoriteItems
→ List<
T> ? -
final
-
final
- hasFavorites → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSearch → bool
-
no setter
- hasSelection → bool
-
no setter
- heading → Widget Function(BuildContext context)?
-
final
- isBuilder → bool
-
no setter
- isListOverlay → bool
-
no setter
- isMultiSelect → bool
-
no setter
- isSingleSelect → bool
-
no setter
-
itemComparer
→ VoOverlayItemComparer<
T> ? -
final
-
items
→ List<
T> ? -
final
-
itemsAsStream
→ Stream<
List< ?T> > -
final
-
itemTile
→ VoOverlayTile<
T> -
final
- maxSelection → int?
-
final
- minSelection → int
-
final
- mode → VoOverlayMode
-
final
-
onSearch
→ VoOverlaySearchCallback<
T> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchHint → String?
-
final
- selectedItem → T?
-
no setter
-
selectedItems
→ List<
T> ? -
final
- title → String?
-
final
Methods
-
asMultiSelect(
{String confirmLabel = 'Done', String? clearLabel = 'Clear', int minSelection = 0, int? maxSelection}) → VoOverlayOptions< T> -
asSingleSelect(
) → VoOverlayOptions< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited