components/picker/picker library

Constants

kPickerDefaultHeight → const double
kPickerDefaultWidth → const double

Typedefs

DateTimePickerChanged = void Function(DateTime dateTime)
PickerListLinkageEntryBuilder = Widget Function(bool selected)
PickerPositionIndexChanged = void Function(List<int> index)
PickerPositionValueChanged<T> = void Function(List<T> value)
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)
SingleListWheelPickerChanged = void Function(int index)