TDPicker class

Constructors

TDPicker()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

showDatePicker(dynamic context, {required String title, required DatePickerCallback? onConfirm, DatePickerCallback? onCancel, bool useYear = true, bool useMonth = true, bool useDay = true, bool useHour = false, bool useMinute = false, bool useSecond = false, bool useWeekDay = false, Color? barrierColor, List<int> dateStart = const [1970, 1, 1], List<int>? dateEnd, List<int>? initialDate, Duration duration = const Duration(milliseconds: 100), double pickerHeight = 200, int pickerItemCount = 5}) → void
显示时间选择器
showMultiLinkedPicker(dynamic context, {String? title, required MultiPickerCallback? onConfirm, MultiPickerCallback? onCancel, required Map data, required int columnNum, required List initialData, Duration duration = const Duration(milliseconds: 100), Color? barrierColor, double pickerHeight = 200, int pickerItemCount = 5}) → void
显示多级联动选择器
showMultiPicker(dynamic context, {String? title, required MultiPickerCallback? onConfirm, MultiPickerCallback? onCancel, required List<List<String>> data, List<int>? initialIndexes, Duration duration = const Duration(milliseconds: 100), Color? barrierColor, double pickerHeight = 200, int pickerItemCount = 5}) → void
显示多级选择器