UIProgressIndicator constructor
const
UIProgressIndicator({})
Creates a UIProgressIndicator with the given progressValue
and optional customization for height, border radius,
active and inactive colors.
progressValue
is required and must be between 0.0 and 1.0.
Implementation
const UIProgressIndicator({
super.key,
required this.progressValue,
this.height = 10.0,
this.borderRadius = 5.0,
this.activeColor = Colors.blue,
this.inactiveColor = const Color(0xFFD6D6D6), // Grey[300] equivalent
});