ContainerBuilderPositionExtensions extension

ContainerBuilder 的Position布局扩展 - TailwindCSS风格的position类

on

Methods

bottom(double value) ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

bottom(double value) -->gt; bottom: value
bottom0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

bottom-0 -->gt; bottom: 0
bottom1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

bottom-1 -->gt; bottom: 4px
bottom2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

bottom-2 -->gt; bottom: 8px
bottom4() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

bottom-4 -->gt; bottom: 16px
inset0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-0 -->gt; top: 0, right: 0, bottom: 0, left: 0
inset1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-1 -->gt; top: 4px, right: 4px, bottom: 4px, left: 4px
inset2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-2 -->gt; top: 8px, right: 8px, bottom: 8px, left: 8px
inset4() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-4 -->gt; top: 16px, right: 16px, bottom: 16px, left: 16px
insetX0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-x-0 -->gt; left: 0, right: 0
insetX1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-x-1 -->gt; left: 4px, right: 4px
insetX2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-x-2 -->gt; left: 8px, right: 8px
insetY0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-y-0 -->gt; top: 0, bottom: 0
insetY1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-y-1 -->gt; top: 4px, bottom: 4px
insetY2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

inset-y-2 -->gt; top: 8px, bottom: 8px
left(double value) ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

left(double value) -->gt; left: value
left0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

left-0 -->gt; left: 0
left1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

left-1 -->gt; left: 4px
left2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

left-2 -->gt; left: 8px
left4() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

left-4 -->gt; left: 16px
position() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

position() -->gt; 设置为定位元素,启用绝对定位
positionAbsolute({double? top, double? right, double? bottom, double? left, double? width, double? height}) Widget

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

absolute -->gt; 绝对定位
positioned({double? top, double? right, double? bottom, double? left, double? width, double? height}) ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

自定义位置 - positioned(top, right, bottom, left)
positionFixed({double? top, double? right, double? bottom, double? left, double? width, double? height}) Widget

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

fixed -->gt; 固定定位(在Stack中相对于Stack容器)
positionRelative() Widget

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

relative -->gt; 相对定位
positionStatic() Widget

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

static -->gt; 默认定位(不做任何处理)
positionSticky() Widget

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

sticky -->gt; 粘性定位(在SingleChildScrollView中实现)

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

right(double value) -->gt; right: value
right0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

right-0 -->gt; right: 0
right1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

right-1 -->gt; right: 4px
right2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

right-2 -->gt; right: 8px
right4() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

right-4 -->gt; right: 16px
top(double value) ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

top(double value) -->gt; top: value
top0() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

top-0 -->gt; top: 0
top1() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

top-1 -->gt; top: 4px
top2() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

top-2 -->gt; top: 8px
top4() ContainerBuilder

Available on ContainerBuilder, provided by the ContainerBuilderPositionExtensions extension

top-4 -->gt; top: 16px