FProgressStyle constructor
const
FProgressStyle({
- required BoxDecoration backgroundDecoration,
- required BoxDecoration progressDecoration,
- BoxConstraints constraints = const BoxConstraints(minHeight: 15.0, maxHeight: 15.0),
- Duration animationDuration = const Duration(milliseconds: 500),
- Curve curve = Curves.ease,
Creates a FProgressStyle.
Implementation
const FProgressStyle({
required this.backgroundDecoration,
required this.progressDecoration,
this.constraints = const BoxConstraints(minHeight: 15.0, maxHeight: 15.0),
this.animationDuration = const Duration(milliseconds: 500),
this.curve = Curves.ease,
});