BrushLayerData constructor

BrushLayerData({
  1. List<CubicPath> paths = const [],
  2. Color color = Colors.white,
  3. double strokeWidth = 1.0,
  4. double maxWidth = 7.0,
  5. Offset offset = const Offset(64, 64),
  6. double rotation = 0,
  7. double scale = 1,
  8. double opacity = 1,
})

Implementation

BrushLayerData({
  this.paths = const [],
  this.color = Colors.white,
  this.strokeWidth = 1.0,
  this.maxWidth = 7.0,
  super.offset,
  super.rotation,
  super.scale,
  super.opacity,
});