Repository: flutter
Issue: [android]  keyboard type doesn't change on some keyboards
Labels: a: text input,platform-android,framework,f: material design,has reproducible steps,P2,found in release: 2.2,found in release: 2.5,team-android,triaged-android


## Steps to Reproduce

use two TextField with different `textInputAction`

one has `maxLines: null` and `textInputAction: TextInputAction.done`
another one has `maxLines: null` and `textInputAction: TextInputAction.newline`

**Expected results:** <!-- what did you want to see? --> action button on keyboard display correct action

**Actual results:** <!-- what did you see? --> action button on keyboard display the same action for both

`flutter doctor -v`

<details>
<summary>Details</summary>

```

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.2.3 at /Users/minhtran/fvm/versions/stable
    • Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/minhtran/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at:
      /Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment 18.9 (build
      11.0.12+8-LTS-237)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] 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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2021.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 59.0.4
    • Dart plugin version 212.4746.57

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    •
      Android 11 (API 30) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     •
      macOS 11.4 20F71 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript •
      Google Chrome 92.0.4515.131

! Doctor found issues in 1 category.

```

</details>

sample snippet

<details>
<summary>Details</summary>

```dart

    return Scaffold(
      appBar: AppBar(
        leading: const BackButton(),
        actions: [IconButton(onPressed: () {}, icon: Icon(Icons.alarm))],
      ),
      body: Container(
        child: SingleChildScrollView(
          child: Padding(
            padding: const EdgeInsets.all(16),
            child: Column(
              mainAxisSize: MainAxisSize.min,
              children: const [
                TextField(
                  decoration: InputDecoration(
                    hintText: 'Title',
                    border: InputBorder.none,
                  ),
                  maxLines: null,
                  style: TextStyle(fontSize: 24),
                  textInputAction: TextInputAction.done,
                ),
                TextField(
                  decoration: InputDecoration(
                    hintText: 'Note',
                    border: InputBorder.none,
                  ),
                  maxLines: null,
                  textInputAction: TextInputAction.newline,
                ),
              ],
            ),
          ),
        ),
      ),
    );

```

</details>

full code: [here](https://github.com/tbm98/notes/blob/main/lib/src/ui/screens/add_note/add_note_page.dart) 
run app > click to add(+) button

https://user-images.githubusercontent.com/52562340/129602661-25952916-83c2-4d3b-afd1-0a741745474f.mov