DragType enum

What a single in-progress events-canvas drag/resize is doing. A press within 8px of an event's top edge resizes from the top (topHandle), within 8px of the bottom resizes from the bottom (bottomHandle), anywhere else moves the whole event (body); none is the idle state (no drag in progress).

Public (#78) so a custom PlannerEntryBuilder can react to the live drag — e.g. emphasise the widget while it's being moved. It is carried on PlannerEntryLayout.dragType (and the package's own hover-cursor hit test reads it too).

Inheritance
Available extensions

Values

body → const DragType
topHandle → const DragType
bottomHandle → const DragType
none → const DragType

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<DragType>
A constant List of the values in this enum, in order of their declaration.