cPosition method

Widget cPosition({
  1. double? t,
  2. double? b,
  3. double? l,
  4. double? r,
})

Position the widget at specific offsets from the top, bottom, left, or right within its parent.

You can specify the position by providing values for t (top), b (bottom), l (left), or r (right).

Implementation

Widget cPosition({
  double? t,
  double? b,
  double? l,
  double? r,
}) =>
    Positioned(
      top: t,
      bottom: b,
      left: l,
      right: r,
      child: this,
    );