one_context library
Classes
-
NotificationPayload<
T> - OneContext
- OneContextWidget
-
OneNotification<
T> - Rebuild the widget below OneNotification It can be usually used to rebuild widget tree Use: OneNotififier.notify(BuildContext, NotificationPayload
-
OneNotifier<
T> - OnePlatform
- OneThemeChangerEvent
- OneThemeController
-
In order to change theme mode,
use
MaterialApp.themeMode: OneThemeController.initThemeMode(...)
Typedefs
-
NotificationBuilder<
T> = Widget Function(BuildContext context, T data) -
OnVisited<
T> = void Function(BuildContext context, T? data)