IndicatorStyle class

Constructors

IndicatorStyle({Color? backgroundColor, Color? strokeColor, Color? shadowColor, double? elevation, bool reverse = false, double angle = .0})
const

Properties

angle double
顺时针旋转角度, 弧度单位 默认.0 12点钟方向, 即正上方 一般来说滑条是水平方向滑动, 部分情况需要竖直滑动的滑条, 为了兼容不同方向的滑条,所以需要设置指示器旋转。
final
backgroundColor Color?
背景颜色
final
elevation double?
z轴阴影高度
final
hashCode int
The hash code for this object.
no setterinherited
reverse bool
指示器上下反转 显示效果会因angle改变
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
阴影颜色
final
strokeColor Color?
边框颜色
final

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