BrushOption class

Constructors

BrushOption({bool showBackground = true, bool translatable = false, List<BrushColor> colors = const [BrushColor(color: Colors.black, background: Colors.white), BrushColor(color: Colors.white), BrushColor(color: Colors.blue), BrushColor(color: Colors.green), BrushColor(color: Colors.pink), BrushColor(color: Colors.purple), BrushColor(color: Colors.brown), BrushColor(color: Colors.indigo)]})
const

Properties

colors List<BrushColor>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBackground bool
show background image on draw screen
final
translatable bool
User will able to move, zoom drawn image Note: Layer may not be placed precisely
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