Rectangle.from constructor
Rectangle.from(])
Implementation
Rectangle.from(String name, Offset position, Size size, Color color,
[style = PaintingStyle.fill])
: this(name, size, position, color, style: style);