NeumorphicProgress constructor

const NeumorphicProgress({
  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 NeumorphicProgress(
    {Key? key,
    double? percent,
    this.height = 10,
    this.duration = const Duration(milliseconds: 300),
    this.style = const ProgressStyle(),
    this.curve = Curves.easeOutCubic})
    : this._percent = percent,
      super(key: key);