LayoutBuilders class
布局构建器 负责构建不同模式的布局
Constructors
- LayoutBuilders({required LayoutConfig config, required AnimationManager animationManager, required LayoutBehaviorManager behaviorManager})
-
const
Properties
- animationManager → AnimationManager
-
final
- behaviorManager → LayoutBehaviorManager
-
final
- config → LayoutConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildComponentContainer(
LayoutPosition position, ComponentConfig componentConfig) → Widget - 构建组件容器
-
buildFloatingComponent(
LayoutPosition position, ComponentConfig componentConfig) → Widget - 构建单个浮动组件
-
buildFloatingComponents(
) → List< Widget> - 构建浮动组件列表
-
buildLandscapeLayout(
) → Widget - 构建横屏布局
-
buildLayout(
) → Widget - 构建主布局
-
buildNonFloatingLandscapeLayout(
) → Widget - 构建非浮动横屏布局
-
buildNonFloatingPortraitLayout(
) → Widget - 构建非浮动竖屏布局
-
buildPortraitLayout(
) → Widget - 构建竖屏布局
-
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