/// A deprecated widget that describes the inherited focus policy for focus
/// traversal for its descendants.
///
/// _This widget has been deprecated: use [FocusTraversalGroup] instead._
@Deprecated(
'Use FocusTraversalGroup as a replacement for DefaultFocusTraversal. Be aware that FocusTraversalGroup does add an (unfocusable) Focus widget to the hierarchy that DefaultFocusTraversal does not. Use FocusTraversalGroup.of(context) as a replacement for DefaultFocusTraversal.of(context). '
'This feature was deprecated after v1.14.3.'
)
classDefaultFocusTraversalextendsInheritedWidget{
/// Creates a [DefaultFocusTraversal] object.
///
/// The [child] argument must not be null.
constDefaultFocusTraversal({
Keykey,
this.policy,
@requiredWidgetchild,
}):super(key:key,child:child);
/// The policy used to move the focus from one focus node to another when
/// traversing them using a keyboard.
///
/// _This widget has been deprecated: use [FocusTraversalGroup] instead._
///
/// If not specified, traverses in reading order using
/// [ReadingOrderTraversalPolicy].
///
/// See also:
///
/// * [FocusTraversalPolicy] for the API used to impose traversal order
/// policy.
/// * [WidgetOrderTraversalPolicy] for a traversal policy that traverses
/// nodes in the order they are added to the widget tree.
/// * [ReadingOrderTraversalPolicy] for a traversal policy that traverses
/// nodes in the reading order defined in the widget tree, and then top to
/// bottom.
finalFocusTraversalPolicypolicy;
/// Returns the [FocusTraversalPolicy] that most tightly encloses the given
/// [BuildContext].
///
/// _This method has been deprecated: use `FocusTraversalGroup.of(context)` instead._
///
/// It does not create a rebuild dependency because changing the traversal
/// order doesn't change the widget tree, so nothing needs to be rebuilt as a