EditModeSettings constructor

EditModeSettings({
  1. double resizeCursorSide = 10,
  2. bool paintBackgroundLines = true,
  3. bool fillEditingBackground = true,
  4. bool longPressEnabled = true,
  5. bool panEnabled = true,
  6. EditModeBackgroundStyle backgroundStyle = const EditModeBackgroundStyle(),
  7. Curve curve = Curves.easeOut,
  8. Duration? duration,
  9. bool shrinkOnMove = true,
  10. bool draggableOutside = true,
  11. 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;