of static method

Returns the FItemGroupStyle in the given context.

Implementation

static FItemGroupStyle of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FItemGroupStyleData>()?.style ?? context.theme.itemGroupStyle;