BrushX constructor
const
BrushX({
- Key? key,
- required Widget child,
- void onBrushStart(
- BrushExtent extent
- void onBrush(
- BrushExtent extent
- void onBrushEnd(
- BrushExtent extent
- void onBrushClear()?,
- BrushExtent? initialExtent,
- Color overlayColor = const Color(0x20000000),
- Color borderColor = const Color(0x80000000),
- double borderWidth = 1.0,
- double minSelectionSize = 5.0,
- bool movable = true,
- bool resizable = true,
- double handleSize = 10.0,
- bool clearOnDoubleTap = true,
Creates a BrushX widget.
Implementation
const BrushX({
super.key,
required super.child,
super.onBrushStart,
super.onBrush,
super.onBrushEnd,
super.onBrushClear,
super.initialExtent,
super.overlayColor,
super.borderColor,
super.borderWidth,
super.minSelectionSize,
super.movable,
super.resizable,
super.handleSize,
super.clearOnDoubleTap,
});