LuckyLayout class abstract
与渲染后端无关的不可变布局。
- Implementers
- Annotations
Constructors
- LuckyLayout({required Size size})
-
指定布局盒子逻辑尺寸。
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
是否没有可绘制或命中的内容。
no setter
- paintsWhenEmpty → bool
-
布局为空时是否仍要绘制装饰(如 blocks 外框);默认不绘制。
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
布局盒子逻辑尺寸。
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