PainterControllerValue constructor

const PainterControllerValue({
  1. required PainterSettings settings,
  2. List<Drawable> drawables = const [],
  3. BackgroundDrawable? background,
  4. ObjectDrawable? selectedObjectDrawable,
})

Creates a new PainterControllerValue with the provided settings and background.

The user can pass a list of initial drawables which will be drawn without user interaction.

Implementation

const PainterControllerValue({
  required this.settings,
  List<Drawable> drawables = const [],
  this.background,
  this.selectedObjectDrawable,
}) : _drawables = drawables;