EditModeSettings class

Edit mode settings. It contains parameters related to gesture, animations, resizing.

Constructors

EditModeSettings({double resizeCursorSide = 10, bool paintBackgroundLines = true, bool fillEditingBackground = true, bool longPressEnabled = true, bool panEnabled = true, EditModeBackgroundStyle backgroundStyle = const EditModeBackgroundStyle(), Curve curve = Curves.easeOut, Duration? duration, bool shrinkOnMove = true, bool draggableOutside = true, bool autoScroll = true})
duration default is package:flutter/foundation.dart kThemeAnimationDuration

Properties

autoScroll bool
If autoScroll is true, viewport will scroll automatically when item is dragged outside the viewport vertically.
final
backgroundStyle EditModeBackgroundStyle
final bool paintItemForeground = false; Background style
final
curve Curve
Animation curve
final
draggableOutside bool
If draggableOutside is true, items can be dragged outside the viewport. Else items can't be dragged outside the viewport.
final
duration Duration
Animation duration
final
fillEditingBackground bool
Fill editing item background.
final
hashCode int
The hash code for this object.
no setterinherited
longPressEnabled bool
Start resize or move with long press.
final
paintBackgroundLines bool
Paint background lines.
final
panEnabled bool
Start resize or move with pan.
final
resizeCursorSide double
Resize side width. If pan/longPress start in side editing is resizing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shrinkOnMove bool
Shrink items on moving if necessary.
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