GraffitiBuilder class
- Inheritance
-
- Object
- AbstractBuilder
- GraffitiBuilder
Constructors
- GraffitiBuilder({required GraffitiBoardPainter graffitiBoardPainter})
Properties
- customPainter ↔ CustomPainter?
-
getter/setter pairinherited
- graffitiBoardPainter ↔ GraffitiBoardPainter
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getColor(
) → Color -
获取画笔颜色
override
-
getResult(
) → Future< Uint8List?> -
获取涂鸦后的图片
override
-
getWidth(
) → double -
获取画笔粗细
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setColor(
Color color) → void -
设置画笔颜色
override
-
setWidth(
double value) → void -
设置画笔粗细
override
-
toString(
) → String -
A string representation of this object.
inherited
-
undo(
) → void -
操作回滚
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited