PickerTheme class

Mixed in types

Constructors

PickerTheme({TextStyle itemStyle = DHStyle.itemStyle, Color? backgroundColor, Decoration? decoration, double height = 216.0, double itemExtent = 36.0, bool useMagnifier = true, TextStyle dividerStyle = DHStyle.dividerStyle, EdgeInsetsGeometry? padding})
const

Properties

backgroundColor Color?
背景颜色
final
decoration Decoration?
背景装饰
final
dividerStyle TextStyle
分割线文本样式
final
hashCode int
The hash code for this object.
no setterinherited
height double
选择器高度
final
itemExtent double
条目高度
final
itemStyle TextStyle
条目文本样式
final
padding EdgeInsetsGeometry?
填充边距
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useMagnifier bool
是否使用放大镜
final

Methods

debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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