Repository: flutter
Issue: FocusNode.skipTraversal is set unexpectedly through Focus widget
Labels: a: text input,framework,f: focus,has reproducible steps,P2,found in release: 3.4,found in release: 3.5,team-framework,triaged-framework

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
2. Focus on the text field. Click + button twice. **Press tab to change focus.**

**Expected results:** <!-- what did you want to see? -->
Text field is traversable.

**Actual results:** <!-- what did you see? -->
Text field is not traversable.

**Root cause:**

I believe the issue is here: https://github.com/flutter/flutter/blob/18a827f3933c19f51862dde3fa472197683249d6/packages/flutter/lib/src/widgets/focus_scope.dart#L607-L612

Should be:

```
        if (widget._skipTraversal != focusNode.skipTraversal) {
          focusNode.skipTraversal = widget._skipTraversal;
        }
        if (widget._canRequestFocus != focusNode.canRequestFocus) {
          focusNode.canRequestFocus = widget._canRequestFocus!;
        }
```

Could someone confirm if my finding is correct?

<details>
<summary>Code sample</summary>




<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: MyHomePage());
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  bool descendantsAreTraversable = true;

  void _changeDescendantsAreTraversable() {
    setState(() {
      descendantsAreTraversable = !descendantsAreTraversable;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Focus(
        descendantsAreTraversable: descendantsAreTraversable,
        child: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              TextButton(onPressed: () {}, child: const Text('A')),
              TextButton(onPressed: () {}, child: const Text('B')),
              TextButton(onPressed: () {}, child: const Text('C')),
              const TextField(),
              Checkbox(value: false, onChanged: (value) {}),
              Checkbox(value: false, onChanged: (value) {}),
              Checkbox(value: false, onChanged: (value) {}),
            ],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _changeDescendantsAreTraversable,
        child: const Icon(Icons.add),
      ),
    );
  }
}

```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->


<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing traverse_bug...                                               
No issues found! (ran in 2.8s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
flutter doctor -v
[✓] Flutter (Channel master, 3.4.0-29.0.pre.75, on macOS 12.3.1 21E258 darwin-arm64, locale en-US)
    • Flutter version 3.4.0-29.0.pre.75 on channel master at /opt/homebrew/Caskroom/flutter/2.8.0/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1f0760a1cc (2 weeks ago), 2022-09-21 11:33:08 -0700
    • Engine revision 2079a8ccfc
    • Dart version 2.19.0 (build 2.19.0-224.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/maple/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->