SquareAttr class

Constructors

SquareAttr({required double length, Color color = Colors.black, double width = 2.0})

Properties

color Color
绘制线条的颜色
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length double
边长
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
绘制边的宽度
getter/setter pair

Methods

getLength() double
inherited
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