picker library Null safety

Classes

AlertSingleChoice
带取消的单选
CurrentPickerOptions<T>

Functions

pickerArea({String? defaultProvince, String? defaultCity, String? defaultDistrict, BottomSheetOptions? options}) Future<String?>
省市区选择器
pickerCustom<T>(Widget content, {String title = '', PickerTapConfirmCallback<T>? confirmTap, PickerTapCancelCallback<T?>? cancelTap, PickerSubjectTapCallback<T>? customConfirmTap, PickerSubjectTapCallback<T?>? customCancelTap, Color? backgroundColor, BottomSheetOptions? bottomSheetOptions, double height = 250}) Future<T?>
pickerDateTime({DateTime? startDate, DateTime? defaultDate, DateTime? endDate, int? dateTimeType, ValueCallback<String>? confirmTap, BottomSheetOptions? options}) Future<String?>
日期选择器
pickerMultipleChoice<T>(String title, {required int itemCount, required IndexedWidgetBuilder itemBuilder, BottomSheetOptions? options}) Future<int?>
多条数据列表选择器
pickerSingleChoice(List<String> list, {BottomSheetOptions? options}) Future<int?>
底部有取消的单选 返回数组index