Friction constructor

const Friction(
  1. double value, {
  2. double? end,
  3. Curve curve = Curves.linear,
})

Implementation

const Friction(double value, {double? end, this.curve = Curves.linear})
    : start = value,
      end = end ?? value;