widthAndHeight method

SizedBox widthAndHeight({
  1. double width = 0.0,
  2. double height = 0.0,
})

With custom height and width

Implementation

SizedBox widthAndHeight({double width = 0.0, double height = 0.0}) {
  return SizedBox(height: height, width: width, child: this);
}