sizedBox method

SizedBox sizedBox({
  1. double? h,
  2. double? w,
})

Creates a SizedBox widget with the current widget as its child and sets its height and width

Implementation

SizedBox sizedBox({double? h, double? w}) =>
    SizedBox(height: h, width: w, child: this);