PainterControllerValue constructor
const
PainterControllerValue({
- required PainterSettings settings,
- List<
Drawable> drawables = const [], - BackgroundDrawable? background,
- 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;