Repository: flutter
Issue: [iOS ]When external keyboard on iPad resizeToAvoidBottomInset resizes scaffold by keyboard/dictionary popup
Labels: a: text input,platform-ios,framework,f: material design,e: OS-version specific,team-design,triaged-design

## Steps to Reproduce

The issue is seen on iOS 16.3.1, on iOS 15.2.1 it is all fine.

The issue is seen on both emulator and iPad with external keyboard connected.
If a Scaffold have resizeToAvoidBottomInset = true or not passed. The scaffold will resize when typical a textfield is given focus.
The resize height is the same as the height of the small corner popup with keyboard selection and microphone dictation which is appearing if not using the on screen keyboard.
It appears that the resizeToAvoidBottomInset counts the popup. But this should always just be on top of everything.

Se attached movies with iOS 16 having the issue, and with iOS 15 not having the issue.


<details>
<summary>Code sample</summary>


```
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: FocusScope.of(context).unfocus,
      child: Scaffold(
        resizeToAvoidBottomInset: true,
        appBar: AppBar(
          title: Text(widget.title),
        ),
        backgroundColor: Colors.blue.shade100,
        body: Center(
          child: Container(
            color: Colors.white,
            width: 300,
            height: 100,
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: const [
                TextField(),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>


```
flutter analyze
Analyzing keyboard_resize_to_avoid_bottom_insets...                     
No issues found! (ran in 1.2s)
```



(Not using latest flutter due to the textfield issue in Flutter 3.7)
```
flutter doctor
[!] Flutter (Channel unknown, 3.3.10, on macOS 13.2 22D49 darwin-arm, locale nb-NO)
    ! Flutter version 3.3.10 on channel unknown at /Users/eirikskogoy/Development/flutter
    ! Upstream repository unknown
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.75.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
```

</details>

Movie with iOS 16 having the issue:
https://user-images.githubusercontent.com/81426035/219352218-4f815594-4125-45be-8e91-c8123ec7ff22.mp4


Movie with iOS 15 without issue:
https://user-images.githubusercontent.com/81426035/219352296-b58813f7-9622-463b-8586-d6f3a0de9663.mp4