PickerStyle class
选择框style
Constructors
- PickerStyle({double? diameterRatio, double? squeeze, double? magnification, double? offAxisFraction, bool? useMagnifier, Color? bgColor, double? itemExtent})
- PickerStyle.defaultStyle()
-
factory
Properties
- bgColor ↔ Color?
-
背景色
getter/setter pair
- diameterRatio ↔ double?
-
直径比,把滚轮理解成1个圆,越大,边缘处越清晰,越小,单例滚筒越有曲面的感觉
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemExtent ↔ double?
-
行高
getter/setter pair
- magnification ↔ double?
-
选中态的放大率
getter/setter pair
- offAxisFraction ↔ double?
-
横向偏移值,左右摇摆
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- squeeze ↔ double?
-
拥挤度,越大越拥挤
getter/setter pair
- useMagnifier ↔ bool?
-
是否使用放大镜
getter/setter pair
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