sized method
尺寸控件 >>>
Implementation
SizedBox sized({Size? size, double? height, double? width}) {
return SizedBox(
width: width ?? size?.width ?? double.infinity,
height: height ?? size?.height ?? double.infinity,
child: this,
);
}