flutter_spinner_item_selector library

Classes

SpinnerItemSelector<T>

Functions

showSpinnerItemSelector<T>(BuildContext context, {required List<T> items, Axis? scrollAxis, required Widget selectedItemToWidget(dynamic item), required Widget nonSelectedItemToWidget(dynamic item), int initSelectedIndex = 0, String? title, TextStyle? titleStyle, Color? backgroundColor, Color? foregroundColor, ButtonStyle? buttonStyle, TextStyle? buttonTextStyle, bool barrierDismissible = true, double? height, double? width, double? spinnerHeight, double? spinnerWidth, double? itemHeight, double? itemWidth, Color? spinnerBgColor, EdgeInsets? contentPadding, String? cancelButtonLabel, String? okButtonLabel}) Future<T?>