helpers/show_scroll_picker library

Functions

showMaterialScrollPicker<T>({required BuildContext context, String? title, required List<T> items, required T selectedItem, bool showDivider = true, Color? headerColor, Color? headerTextColor, Color? backgroundColor, Color? buttonTextColor, String? confirmText, bool cancellable = true, String? cancelText, double? maxLongSide, double? maxShortSide, ValueChanged<T>? onChanged, VoidCallback? onConfirmed, VoidCallback? onCancelled, Transformer<T>? transformer}) Future<T?>
Allows selection of a string via a slot machine carousel