brushWidget method

  1. @override
Widget brushWidget(
  1. double limitSize,
  2. OperateType type, {
  3. required bool choosen,
})
override

Brush widget

  • for paint color on canvas.

Implementation

@override
Widget brushWidget(double limitSize, OperateType type, {required bool choosen}) {
  return Icon(Icons.brush_outlined, size: limitSize, color: operatorStatuscolor(choosen));
}