widgets/overlay library

Classes

VoBottomSheetOptions
VoBottomSheetShell<T>
Bottom sheet, modal and dialog chrome: background, drag handle, title and the VoOverlayView body.
VoOverlayBody<T>
Scrollable custom body for overlays without a list configuration.
VoOverlayList<T>
Searchable, selectable list body for overlay pickers.
VoOverlayOptions<T>
VoOverlaySelectionState<T>
Mutable selection state for VoOverlayList.
VoOverlayTile<T>
VoOverlayTileView<T>
VoOverlayView<T>
Routes VoOverlayData to a list picker or custom body.

Functions

showVoOverlay<Result, T>(BuildContext context, {bool cancelable = true, bool useSafeArea = true, VoOverlayType type = VoOverlayType.bottomSheet, ScrollController? scrollController, VoBottomSheetOptions bottomSheetOptions = const VoBottomSheetOptions(), required VoOverlayOptions<T> options}) → Future<Result?>
voOverlayItemsEqual<T>(T? a, T? b, bool comparer(T a, T b)?) → bool
voOverlayListContains<T>(List<T> list, T item, bool comparer(T a, T b)?) → bool

Typedefs

VoOverlayItemComparer<T> = bool Function(T a, T b)
VoOverlaySearchCallback<T> = List<T>? Function(String search, List<T> items)
VoOverlayTileBuilder<T> = Widget Function(BuildContext context, T item, bool isSelected, VoidCallback? onTap)
VoOverlayTileWidgetBuilder<T> = Widget Function(BuildContext context, T item, bool isSelected)