positionAbsolute method

Widget positionAbsolute({
  1. double? top,
  2. double? right,
  3. double? bottom,
  4. double? left,
  5. double? width,
  6. double? height,
})

absolute -->gt; 绝对定位

Implementation

Widget positionAbsolute({
  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 build();
}