measure method

  1. @override
double measure()

Calculate the "measure" of the effect, which is the effect's distance from min to max progress. The "measure" is any property for which the notion of speed is well-defined.

This method will be called at the start of the effect, but after the Effect's onStart callback. It will be called again after the effect is reset.

Implementation

@override
double measure() => _offset.length;