FProgressMotion constructor

const FProgressMotion({
  1. Duration period = const Duration(milliseconds: 1000),
  2. Duration interval = const Duration(milliseconds: 500),
  3. Curve curve = Curves.ease,
  4. double value = 0.4,
})

Creates a FProgressMotion.

Implementation

const FProgressMotion({
  this.period = const Duration(milliseconds: 1000),
  this.interval = const Duration(milliseconds: 500),
  this.curve = Curves.ease,
  this.value = 0.4,
}) : assert(value >= 0.0 && value <= 1.0, 'value ($value) must be between 0.0 and 1.0');