PickerStyle class Null safety

选择框style

Constructors

PickerStyle({double? diameterRatio, double? squeeze, double? magnification, double? offAxisFraction, bool? useMagnifier, Color? bgColor, double? itemExtent})
PickerStyle.defaultStyle()
factory

Properties

bgColor Color?
背景色
read / write
diameterRatio double?
直径比,把滚轮理解成1个圆,越大,边缘处越清晰,越小,单例滚筒越有曲面的感觉
read / write
hashCode int
The hash code for this object.
read-onlyinherited
itemExtent double?
行高
read / write
magnification double?
选中态的放大率
read / write
offAxisFraction double?
横向偏移值,左右摇摆
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
squeeze double?
拥挤度,越大越拥挤
read / write
useMagnifier bool?
是否使用放大镜
read / write

Methods

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

Operators

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