maybeOf static method

FItemGroupStyle? maybeOf(
  1. BuildContext context
)

Returns the FItemGroupStyle in the given context, or null if none is found.

Implementation

static FItemGroupStyle? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FItemGroupStyleData>()?.style;