sized method

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

Implementation

Widget sized({double? height, double? width}) {
  return SizedBox(
    height: height,
    width: width,
    child: this,
  );
}