size static method
创建指定尺寸的 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);
}
创建指定尺寸的 SizedBox
@param width 宽度值 @param height 高度值 @return 指定尺寸的 SizedBox 实例
static SizedBox size(double width, double height, Widget? child) {
return SizedBox(width: width, height: height, child: child);
}