PaintInfo constructor

PaintInfo({
  1. required PaintMode mode,
  2. required List<Offset?> offsets,
  3. required Color color,
  4. required double strokeWidth,
  5. String text = '',
  6. bool fill = false,
})

In case of string, it is used to save string value entered.

Implementation

PaintInfo({
  required this.mode,
  required this.offsets,
  required this.color,
  required this.strokeWidth,
  this.text = '',
  this.fill = false,
});