findBuilder static method
Search for default builder from ancesters of context
.
When no default builder can be found, globalBuilder will be returned
Implementation
static FailedResultBuilder findBuilder(BuildContext context) =>
context
.dependOnInheritedWidgetOfExactType<DefaultFailedResultBuilder>()
?.builder ??
globalBuilder;