RotatingSquare constructor
const
RotatingSquare({})
Creates a new instance of RotatingSquare.
Example:
RotatingSquare(
squareColor: Colors.red,
squareSize: 50.0,
duration: Duration(seconds: 2),
)
Implementation
const RotatingSquare({
super.key,
this.squareColor = Colors.black,
this.squareSize = 30.0,
this.duration = const Duration(seconds: 1),
});