sizedBox method
Wraps the current widget in a SizedBox with specified dimensions.
h
sets the height of the SizedBox.
w
sets the width of the SizedBox.
Returns a SizedBox widget with the current widget as its child.
Implementation
SizedBox sizedBox({double? h, double? w}) =>
SizedBox(height: h, width: w, child: this);