GridCell class abstract base

奖品和按钮共享的格子契约。

Implementers
Annotations

Constructors

GridCell({required int x, required int y, int col = 1, int row = 1, LuckyCellStyle? style, List<LuckyText> texts = const [], List<GridImage> images = const []})
创建格子;列表由调用方保持不可变。
const

Properties

col → int
横向占用列数。
final
hashCode → int
The hash code for this object.
no setterinherited
images → List<GridImage>
图片项。
final
row → int
纵向占用行数。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → LuckyCellStyle?
普通态局部样式。
final
texts → List<LuckyText>
文字项。
final
x → int
起始列,从零开始。
final
y → int
起始行,从零开始。
final

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