add static method
Returns an Object containing InheritedWidget and its build function
Implementation
static InheritedStateWidget add(InheritedWidget? Function() func,
{Key? key}) =>
InheritedStateWidget(func, key: key);
Returns an Object containing InheritedWidget and its build function
static InheritedStateWidget add(InheritedWidget? Function() func,
{Key? key}) =>
InheritedStateWidget(func, key: key);