size static method

SizedBox size(
  1. double width,
  2. double height,
  3. Widget? child
)

创建指定尺寸的 SizedBox

@param width 宽度值 @param height 高度值 @return 指定尺寸的 SizedBox 实例

Implementation

static SizedBox size(double width, double height, Widget? child) {
  return SizedBox(width: width, height: height, child: child);
}