size method
Implementation
Widget size({double? all, double? width, double? height}) {
if (all != null) {
return SizedBox(
width: all,
height: all,
child: this,
);
}
return SizedBox(
width: width,
height: height,
child: this,
);
}