ShapeAspectLockAffordance class final
Locks or unlocks the aspect ratio through setAspectLocked. Locking
first makes the frame square, so a rectangle becomes a square and an
ellipse a circle; resizing then keeps that ratio until it is unlocked.
- Inheritance
-
- Object
- ShapeAffordance
- ShapeAspectLockAffordance
Constructors
- ShapeAspectLockAffordance({String lockLabel = 'Make square', bool round = false})
-
const
Properties
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