BorderStyle class Null safety

Constructors

BorderStyle({bool paint = true, List<num>? pattern, int phase = 0})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
paint bool
Paint this line
final
pattern List<num>?
Lengths of alternating dashes and gaps. The numbers shall be nonnegative and not all zero.
final
phase int
Specify the distance into the dash pattern at which to start the dash.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Constants

dashed → const BorderStyle
const BorderStyle(pattern: const <int>[3, 3])
dotted → const BorderStyle
const BorderStyle(pattern: const <int>[1, 1])
none → const BorderStyle
const BorderStyle(paint: false)
solid → const BorderStyle
const BorderStyle()