size method

Widget size(
  1. double width,
  2. double height
)

Set both width and height for the widget

Implementation

Widget size(double width, double height) => SizedBox(width: width, height: height, child: this);