SpinningTriangle constructor
const
SpinningTriangle({})
Creates a new instance of SpinningTriangle.
color is the color of the triangle. Defaults to Colors.black.
size is the size of the triangle. Defaults to 60.0.
duration is the duration of the spin. Defaults to 500 milliseconds.
Implementation
const SpinningTriangle({
super.key,
this.color = Colors.black,
this.size = 60.0,
this.duration = const Duration(milliseconds: 500),
});