EditModeSettings constructor
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
Implementation
EditModeSettings({
this.resizeCursorSide = 10,
this.paintBackgroundLines = true,
this.fillEditingBackground = true,
this.longPressEnabled = true,
this.panEnabled = true,
this.backgroundStyle = const EditModeBackgroundStyle(),
this.curve = Curves.easeOut,
Duration? duration,
this.shrinkOnMove = true,
this.draggableOutside = true,
this.autoScroll = true,
}) : duration = duration ?? kThemeAnimationDuration;