BMFGradientLine class Null safety
渐变线 since 3.1.0
- Inheritance
-
- Object
- BMFOverlay
- BMFGradientLine
- Implemented types
- Available Extensions
Constructors
-
BMFGradientLine({required List coordinates, required List<
int> indexs, required List colors, int? width = 5, dynamic lineDirectionCross180 = BMFLineDirectionCross180Type.None, bool? isThined = true, int zIndex = 0, bool visible = true}) - 渐变线构造方法
- BMFGradientLine.fromMap(Map map)
- map => BMFGradientLine
Properties
- bounds → Future
-
返回overlay外接矩形 since 3.1.0
read-only, override
- colors ↔ List
-
渐变线的colors
read / write
- coordinates ↔ List
-
经纬度数组
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- Id → String
-
获取id
@Deprecated('Use `id` method instead since 3.2.0'), read-only, inherited
- id → String
-
获取id since 3.2.0
read-only, inherited
-
indexs
↔ List<
int> -
分段索引
read / write
- isThined ↔ bool?
-
是否抽稀 默认ture
read / write
- lineDirectionCross180 ↔ dynamic
-
渐变线经度跨180所需字段
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- visible ↔ bool?
-
overlay是否可见
read / write, inherited
- width ↔ int?
-
线宽
read / write
- zIndex ↔ int?
-
元素的堆叠顺序
read / write, inherited
Methods
-
fromMap(
Map map) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited