withSize method

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

Give a size to this widget

Implementation

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