dh_picker library

Classes

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

Mixins

LayoutAttributes
@author Evan @since 2022/3/22 @describe:

Functions

calcDateCount(int year, int month) int
getMonthByQuarter(int quarter) int
getMonthBySemiannual(int semiannual) int
getQuarter(int month) int
根据month 计算季度
getSemiannual(int month) int
根据month 计算半年度
showPicker(BuildContext context, {required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor = Colors.black54, Duration transitionDuration = const Duration(milliseconds: 200), bool useRootNavigator = true, double pickerHeight = _kPickerHeight}) Future

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: