isInfinite property

bool isInfinite

Will the effect continue to run forever (never completes)?

Implementation

bool get isInfinite => duration == double.infinity;