maybeOf static method

FSidebarGroupData? maybeOf(
  1. BuildContext context
)

Returns the FSidebarGroupData of the FSidebarGroup in the given context.

Contract

Throws AssertionError if there is no ancestor FSidebarGroup in the given context.

Implementation

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