EraseDrawable constructor

EraseDrawable({
  1. required List<Offset> path,
  2. double strokeWidth = 1,
  3. bool hidden = false,
})

Creates a EraseDrawable to erase path.

The path will be erased with the passed strokeWidth if provided.

Implementation

EraseDrawable({
  required List<Offset> path,
  double strokeWidth = 1,
  bool hidden = false,
}) : super(path: path, strokeWidth: strokeWidth, hidden: hidden);