LifecycleBackgroundHandler constructor
LifecycleBackgroundHandler({
- required VoidCallback onResume,
- required VoidCallback onSuspending,
- required VoidCallback onBackgroundResume,
- required VoidCallback onBackgroundSuspending,
- required bool getIsWidgetVisible(),
- required bool getIsAppInForeground(),
- required void changeIsAppInForeground(
- bool isAppInForeground
- required String getScreenName(),
Implementation
LifecycleBackgroundHandler({
required this.onResume,
required this.onSuspending,
required this.onBackgroundResume,
required this.onBackgroundSuspending,
required this.getIsWidgetVisible,
required this.getIsAppInForeground,
required this.changeIsAppInForeground,
required this.getScreenName,
});