maybeOf static method

LayoutData? maybeOf(
  1. BuildContext context
)

Implementation

static LayoutData? maybeOf(BuildContext context) => context
    .dependOnInheritedWidgetOfExactType<_LayoutInheritedWidget>()
    ?.data;