BoundingBoxController class

Inheritance
Annotations
  • @JsonSerializable.new(fieldRename: FieldRename.snake)

Constructors

BoundingBoxController({required Offset position, required Size size, double rotation = 0, bool enable = false, bool? enableRotate = true, bool? enableMove = true, double actionSize = defaultActionSize, Color? handleResizeBackgroundColor, Color? handleResizeStrokeColor, Color? handleRotateBackgroundColor, Color? handleRotateStrokeColor, Color? handleMoveBackgroundColor, Color? handleMoveStrokeColor, Color? strokeColor, double? strokeWidth, double? handleResizeStrokeWidth, double? handleRotateStrokeWidth, double? handleMoveStrokeWidth, Widget? rotateIcon, Widget? moveIcon, Widget? customHandleResize, Widget? customHandleRotate, Widget? customHandleMove, double? handlePosition, BoxDecoration? customDecoration})
BoundingBoxController.fromJson(Map<String, dynamic> json)
factory

Properties

actionSize double
getter/setter pair
customDecoration BoxDecoration?
getter/setter pair
customHandleMove Widget?
getter/setter pair
customHandleResize Widget?
getter/setter pair
customHandleRotate Widget?
getter/setter pair
enable bool
getter/setter pair
enableMove bool?
getter/setter pair
enableRotate bool?
getter/setter pair
handleMoveBackgroundColor Color?
getter/setter pair
handleMoveStrokeColor Color?
getter/setter pair
handleMoveStrokeWidth double?
getter/setter pair
handlePosition double?
getter/setter pair
handleResizeBackgroundColor Color?
getter/setter pair
handleResizeStrokeColor Color?
getter/setter pair
handleResizeStrokeWidth double?
getter/setter pair
handleRotateBackgroundColor Color?
getter/setter pair
handleRotateStrokeColor Color?
getter/setter pair
handleRotateStrokeWidth double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
moveIcon Widget?
getter/setter pair
position Offset
getter/setter pair
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
rotateIcon Widget?
getter/setter pair
rotation double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
getter/setter pair
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
strokeColor Color?
getter/setter pair
strokeWidth double?
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
update({Offset? newPosition, Size? newSize, double? newRotation, bool? newEnable, bool? newEnableRotate, bool? newEnableMove, double? newActionSize, Color? newHandleResizeBackgroundColor, Color? newHandleResizeStrokeColor, Color? newHandleRotateBackgroundColor, Color? newHandleRotateStrokeColor, Color? newHandleMoveBackgroundColor, Color? newHandleMoveStrokeColor, Color? newStrokeColor, double? newStrokeWidth, double? newHandleResizeStrokeWidth, double? newHandleRotateStrokeWidth, double? newHandleMoveStrokeWidth, Widget? newRotateIcon, Widget? newMoveIcon, Widget? newCustomHandleResize, Widget? newCustomHandleRotate, Widget? newCustomHandleMove, double? newHandlePosition, BoxDecoration? newCustomDecoration}) → void
Update any property

Operators

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