RectangleWithText constructor
const
RectangleWithText({})
Implementation
const RectangleWithText({
Key? key,
required this.text,
this.width = 200.0,
this.height = 100.0,
this.backgroundColor = Colors.blue,
this.textColor = Colors.white,
}) : super(key: key);