components/picker/picker library

Constants

kPickerDefaultHeight → const double
kPickerDefaultWidth → const double

Typedefs

AreaPickerChanged = void Function(List<String> value)
DateTimePickerChanged = void Function(DateTime dateTime)
PickerPositionChanged = void Function(List<int> index)
PickerSubjectTapCallback<T> = T Function()
PickerTapCancelCallback<T> = bool Function(T? value)
PickerTapConfirmCallback<T> = bool Function(T? value)
返回 false 不关闭弹窗;
SelectIndexedChanged = void Function(List<int> index)
SelectIndexedChangedFunction = void Function([int? index])
SelectIndexedWidgetBuilder = Widget Function(BuildContext context, int index, bool isSelect, SelectIndexedChangedFunction changeFunc)
SelectScrollListBuilder = Widget Function(int itemCount, IndexedWidgetBuilder itemBuilder)
SingleColumnPickerChanged = void Function(int index)