container method

Widget container({
  1. double? height,
  2. double? width,
})

Implementation

Widget container({
  double? height,
  double? width,
}) =>
    SizedBox(
      height: height ?? null,
      width: width ?? null,
      child: this,
    );