BasePickerOptions<T> class

Inheritance

Constructors

BasePickerOptions({String? title, PickerTapCallback<T>? verifyConfirm, PickerTapCallback<T>? verifyCancel, Color? backgroundColor, EdgeInsetsGeometry? contentPadding, Decoration? decoration, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10), Widget? top, Widget? bottom = const BaseDivider(), double height = 250})

Properties

background Widget?
背景
finalinherited
backgroundColor Color?
容器属性 整个Picker的背景色
finalinherited
bottom Widget?
title底部内容
finalinherited
bottomNavigationBar Widget?
bottom navigation bar
finalinherited
cancel Widget?
left
finalinherited
confirm Widget?
right
finalinherited
contentPadding EdgeInsetsGeometry?
对内容
finalinherited
decoration Decoration?
Decoration
finalinherited
hashCode int
The hash code for this object.
no setterinherited
padding EdgeInsetsGeometry
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title Widget?
center
finalinherited
top Widget?
title顶部内容
finalinherited
verifyCancel PickerTapCallback<T>?
点击 cancel 后校验 cancelTap 数据, 返回 false 不关闭弹窗 默认 为 true;
finalinherited
verifyConfirm PickerTapCallback<T>?
点击 confirm 后校验 confirmTap 数据, 返回 false 不关闭弹窗 默认 为 true;
finalinherited

Methods

copyWith({Color? backgroundColor, Decoration? decoration, Widget? bottom, Widget? top, EdgeInsetsGeometry? padding, Widget? confirm, Widget? cancel, Widget? title, Widget? background, PickerTapCallback<T>? verifyConfirm, PickerTapCallback<T>? verifyCancel}) PickerOptions<T>
inherited
merge(PickerOptions<T>? options) PickerOptions<T>
inherited
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