ofWidget<T extends Widget> static method
T?
ofWidget<T extends Widget>(
- T w
This function is used to determine whether the widget will be displayed or not, depending of running mode.
Implementation
static T? ofWidget<T extends Widget>(T w) =>
KareeMaterialApp.type != KareeApplicationType.module ? w : null;