ScreenLifecycle constructor

const ScreenLifecycle({
  1. Key? key,
  2. VoidCallback? onFocusLost,
  3. void onFocusLostWithReason(
    1. bool dueToAppBackground
    )?,
  4. VoidCallback? onFocusGained,
  5. required Widget child,
})

Implementation

const ScreenLifecycle({
  super.key,
  this.onFocusLost,
  this.onFocusLostWithReason,
  this.onFocusGained,
  required this.child,
});