positioned method
自定义位置 - positioned(top, right, bottom, left)
Implementation
ContainerBuilder positioned({
double? top,
double? right,
double? bottom,
double? left,
double? width,
double? height,
}) {
_isPositioned = true;
_positionTop = top;
_positionRight = right;
_positionBottom = bottom;
_positionLeft = left;
_positionWidth = width;
_positionHeight = height;
return this;
}