EditorPanelController class

Constructors

EditorPanelController()

Properties

brushColor List<Color>
final
colorSelected ValueNotifier<int>
getter/setter pair
currentOperateType OperateType
no setter
hashCode int
The hash code for this object.
no setterinherited
moveStuff MoveStuff
moving object
getter/setter pair
movingTarget BaseFloatModel?
moving object.
getter/setter pair
operateType ValueNotifier<OperateType>
getter/setter pair
panelDuration Duration
The top and bottom panel's slide duration.
final
pointerUpPosition Offset?
cache the target taht just released.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSize Size?
getter/setter pair
showAppBar ValueNotifier<bool>
getter/setter pair
showBottomBar ValueNotifier<bool>
getter/setter pair
showTrashCan ValueNotifier<bool>
getter/setter pair
takeShot ValueNotifier<bool>
take shot action listener
getter/setter pair
tcSize Size
trash can size.
final
trashCanPosition Offset
trash can position
getter/setter pair
trashColor ValueNotifier<Color>
trash background color
getter/setter pair

Methods

cancelOperateType() → void
doIdle() → void
stop moving.
hidePanel() → void
hide bottom and top(app) bar.
isCurrentOperateType(OperateType type) bool
Is current operate type
isThrowText(Offset pointer, BaseFloatModel target) bool
decided whether the text is deleted or not.
moveText(FloatTextModel model) → void
move text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointerMoving(PointerMoveEvent event) → void
pointer moving's callback
releaseText(DragEndDetails details, FloatTextModel model, Function throwCall) → void
release the moving-text.
selectColor(Color color) → void
show2ndPanel() bool
is need to show second panel.
showPanel() → void
show bottom and top(app) bar.
switchOperateType(OperateType type) → void
switch operate type
switchTrashCan(bool show) → void
hide/show trash can.
switchTrashCanColor(bool isInside) → void
switch trash can's color.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultTrashColor → const Color