frame method
A modifier that sets its widget's frame size.
Example:
Icon(Icons.person)
.frame(width: 50, height: 25);
Implementation
Widget frame({double? width, double? height, bool handover = true}) {
if (handover && this is Container) {
return (this as Container).frame(width: width, height: height);
}
return Container(child: this, width: width, height: height);
}