constrain property

bool get constrain

Squares / circles / 45° lines (also while Shift is held).

Implementation

bool get constrain => _constrain;
set constrain (bool value)

Implementation

set constrain(bool value) {
  _constrain = value;
  notifyListeners();
}