ScribblePointerMode enum

Which pointers are allowed for drawing and will be captured by the scribble widget.

Inheritance

Constructors

ScribblePointerMode()
const

Values

all → const ScribblePointerMode

Allow drawing with all pointers.

mouseOnly → const ScribblePointerMode

Allow drawing with mouse only.

penOnly → const ScribblePointerMode

Allow drawing with pen only.

This is useful if you want to place the scribble widget in an InteractiveViewer for example, so that it can be zoomed in and out without drawing on it.

mouseAndPen → const ScribblePointerMode

Allow drawing with both mouse and pen.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<ScribblePointerMode>
A constant List of the values in this enum, in order of their declaration.