isInfinite property

bool get isInfinite

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

Implementation

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