findBuilder static method

WidgetBuilder findBuilder(
  1. BuildContext context
)

Search for default builder from ancesters of context. When no default builder can be found, globalBuilder will be returned

Implementation

static WidgetBuilder findBuilder(BuildContext context) =>
    context
        .dependOnInheritedWidgetOfExactType<DefaultWaitingResultBuilder>()
        ?.builder ??
    globalBuilder;