FocusDetector constructor
const
FocusDetector({
- required Widget child,
- VoidCallback? onFocusGained,
- VoidCallback? onFocusLost,
- VoidCallback? onVisibilityGained,
- VoidCallback? onVisibilityLost,
- VoidCallback? onForegroundGained,
- VoidCallback? onForegroundLost,
- Key? key,
Implementation
const FocusDetector({
required this.child,
this.onFocusGained,
this.onFocusLost,
this.onVisibilityGained,
this.onVisibilityLost,
this.onForegroundGained,
this.onForegroundLost,
Key? key,
}) : super(key: key);