Repository: flutter
Issue: Material UI: Visual bug with decorated TextFields and label animations
Labels: a: text input,framework,a: animation,f: material design,waiting for PR to land (fixed),a: quality,has reproducible steps,P2,has partial patch,team-text-input,triaged-text-input,found in release: 3.24

### Steps to reproduce

1. Create a TextInput widget with an `OutlineInputBorder` that has a circular border with a high radius, and a non-null `label`
2. Click on the TextInput

### Expected results

The label animates to the corner without interfering with the outline border

### Actual results

During the label animation the outline border appears straight instead of rounded during the duration of the animation. Better explained in the GIF that I've attached, and best reproduced with slow animations.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(context) {
    return MaterialApp(
      title: "Flutter Demo",
      home: Scaffold(
          body: Container(
        padding: const EdgeInsets.all(20),
        width: 300,
        child: TextField(
          decoration: InputDecoration(
            border: OutlineInputBorder(
              borderRadius: BorderRadius.circular(50),
            ),
            label: const Text("Enter text"),
          ),
        ),
      )),
    );
  }
}

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

![Animation](https://github.com/user-attachments/assets/6efdef9a-a348-4b8f-a1cd-89e773a79812)

</details>


### Logs

<details open><summary>Logs</summary>

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
    ! Warning: `dart` on your path resolves to C:\Users\Ado\fvm\versions\stable\bin\dart, which is not inside your current Flutter SDK checkout at C:\Users\Ado\fvm\default.        
      Consider adding C:\Users\Ado\fvm\default\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (4 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Ado\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Users\Ado\AppData\Local\Programs\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.35122.118
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Users\Ado\AppData\Local\Programs\Android Studio
    • 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 17.0.11+0--11852314)

[√] IntelliJ IDEA Community Edition (version 2024.1)
    • IntelliJ at C:\Users\Ado\AppData\Local\Programs\IntelliJ IDEA Community Edition
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.18808

[√] VS Code (version 1.92.0)
    • VS Code at C:\Users\Ado\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3880]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 127.0.6533.99
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 127.0.2651.74

[√] Network resources
    • All expected network resources are available.


```

</details>