GridCellGeometry class final
单格两个状态及其未收缩的命中矩形。
- Annotations
Constructors
- GridCellGeometry({required GridCellVisual normal, required GridCellVisual active, required Rect hitRect})
-
创建完整格子几何。
const
Properties
- active → GridCellVisual
-
激活态视觉;按钮与普通态相同。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hitRect → Rect
-
未经阴影收缩的矩形。
final
- normal → GridCellVisual
-
普通态视觉。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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