SizedBox constructor

const SizedBox({Key key, double width, double height, Widget child })

Creates a fixed size box. The width and height parameters can be null to indicate that the size of the box should not be constrained in the corresponding dimension.

Implementation

const SizedBox({ Key key, this.width, this.height, Widget child })
  : super(key: key, child: child);