LifecycleBackgroundHandler constructor

LifecycleBackgroundHandler({
  1. required VoidCallback onResume,
  2. required VoidCallback onSuspending,
  3. required VoidCallback onBackgroundResume,
  4. required VoidCallback onBackgroundSuspending,
  5. required bool getIsWidgetVisible(),
  6. required bool getIsAppInForeground(),
  7. required void changeIsAppInForeground(
    1. bool isAppInForeground
    ),
  8. 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,
});