maybeOf method

EffectQuery? maybeOf(
  1. BuildContext context
)

Returns the animation value of the nearest EffectQuery ancestor. If there is no ancestor, it returns null.

Implementation

EffectQuery? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<EffectQuery>();