ScreenLifecycle constructor
const
ScreenLifecycle({
- Key? key,
- VoidCallback? onFocusLost,
- VoidCallback? onFocusGained,
- required Widget child,
Creates a widget that reports focus changes of child.
Implementation
const ScreenLifecycle({
Key? key,
this.onFocusLost,
this.onFocusGained,
required this.child,
});