mode property

GlassEditMode get mode

The current edit mode.

Implementation

GlassEditMode get mode => _mode;
set mode (GlassEditMode newMode)

Updates the current edit mode and notifies listeners if changed.

Implementation

set mode(GlassEditMode newMode) {
  if (_mode == newMode) return;
  _mode = newMode;
  notifyListeners();
}