useFocusEffect property
The value defines whether the focus effect is enabled for touch ripple animations. If true, a solid focus color effect is applied for consecutive events like double-tap and long-tap or others.
Implementation
final bool? useFocusEffect;