ScreenboardOptions class

Options for the Screenboard widget. Matches React ScreenboardOptions interface.

Constructors

ScreenboardOptions.new({required double customWidth, required double customHeight, required ScreenboardParameters parameters, bool showAspect = true, Color defaultColor = Colors.black, double brushThickness = 6.0, double lineThickness = 6.0, double eraserThickness = 10.0, bool allowAnnotation = true, bool autoRemoveShapes = true, Duration autoRemoveDuration = const Duration(seconds: 15)})

Properties

allowAnnotation → bool
final
autoRemoveDuration → Duration
final
autoRemoveShapes → bool
final
brushThickness → double
final
customHeight → double
final
customWidth → double
final
defaultColor → Color
final
eraserThickness → double
final
hashCode → int
The hash code for this object.
no setterinherited
lineThickness → double
final
parameters → ScreenboardParameters
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showAspect → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited