TraversalRequestFocusCallback typedef

TraversalRequestFocusCallback = void Function(FocusNode node, {double? alignment, ScrollPositionAlignmentPolicy? alignmentPolicy, Curve? curve, Duration? duration})

Signature for the callback that's called when a traversal policy requests focus.

Implementation

typedef TraversalRequestFocusCallback = void Function(
    FocusNode node, {
    ScrollPositionAlignmentPolicy? alignmentPolicy,
    double? alignment,
    Duration? duration,
    Curve? curve,
});