of static method
Implementation
static Tart of(BuildContext context) {
final TartProvider? provider =
context.dependOnInheritedWidgetOfExactType<TartProvider>();
assert(provider != null, 'No TartProvider found in context');
return provider!.tart;
}