find<T> static method
Implementation
static T? find<T>(BuildContext context) {
try {
final t = Provider.of<T>(context, listen: false);
return t;
} on ProviderNotFoundException {
return null;
}
}
static T? find<T>(BuildContext context) {
try {
final t = Provider.of<T>(context, listen: false);
return t;
} on ProviderNotFoundException {
return null;
}
}