of<W extends ScopeWidgetBase<W>> static method

W of<W extends ScopeWidgetBase<W>>(
  1. BuildContext context, {
  2. required bool listen,
})
override

Implementation

static W of<W extends ScopeWidgetBase<W>>(
  BuildContext context, {
  required bool listen,
}) =>
    ScopeContext.of<W, ScopeContext<W>>(context, listen: listen).widget;