dh_picker library Null safety

Classes

BaseDatePickerState
BaseDateTimeModel
DatePickerModel
日期(年月日)选择器
DateTimePicker
DateTimePickerModel
日期时间选择器模型 年月日 时:分:秒
DateTimePickerWidget
日期选择器控件
DefaultSelectionOverlay
DHPicker
@author Evan @since 2020/12/31 @describe:
NumberPicker
PickerTheme
StringPicker
@author Evan @since 2021/1/25 @describe:
TimePickerModel
时间(小时分钟秒)选择器模型
TimeRangePickerModel
时间范围模型
TitleActions
选择器标题和按钮
TitleActionTheme
UnitWrap
单位控件

Constants

kDefaultDiameterRatio → const double
1.07
kDefaultPerspective → const double
0.003
kMagnification → const double
2.35 / 2.1
kOverAndUnderCenterOpacity → const double
0.447
kSqueeze → const double
1.45

Functions

showPicker(BuildContext context, {required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor = Colors.black54, Duration transitionDuration = const Duration(milliseconds: 200), bool useRootNavigator = true}) Future<DateTime?>

Typedefs

NumIndexFormatter = String Function(num value)
@author Evan @since 2020/12/31 @describe:
ParamsBuilder<T> = T? Function(int index)
StringAtIndex = String? Function(int index)
@author Evan @since 2021/1/6 @describe: