EmergentProgress constructor

const EmergentProgress({
  1. Key? key,
  2. double? percent,
  3. double height = 10,
  4. Duration duration = const Duration(milliseconds: 300),
  5. ProgressStyle style = const ProgressStyle(),
  6. Curve curve = Curves.easeOutCubic,
})

Implementation

const EmergentProgress(
    {Key? key,
    double? percent,
    this.height = 10,
    this.duration = const Duration(milliseconds: 300),
    this.style = const ProgressStyle(),
    this.curve = Curves.easeOutCubic})
    : _percent = percent,
      super(key: key);