Repository: flutter
Issue: `Ink`'s decoration drawn outside listview item bounds
Labels: framework,f: material design,f: scrolling,has reproducible steps,P2,found in release: 2.2,found in release: 2.6,team-design,triaged-design

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter create create`.
 
2. Using the "Shape" parameter in "ListTile" causes a problem to contain a list inside "ExpansionTile".

If you don't use "Shape" and wrap it in a "Container" with "decoration", the problem doesn't exist. <!-- describe how to reproduce the problem -->

**Expected results:** <!-- what did you want to see? -->
<img width="423" alt="Captura de Tela 2021-09-01 às 14 40 49" src="https://user-images.githubusercontent.com/62712813/131682039-c3010638-2c1b-40fa-85ef-cafd6922b6c1.png">

**Actual results:** <!-- what did you see? -->
<img width="419" alt="Captura de Tela 2021-09-01 às 14 40 24" src="https://user-images.githubusercontent.com/62712813/131682062-65f5822a-03ee-4266-8c50-f5114a3294bd.png">


<details>
  <summary>Code to test</summary>

```
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Bug'),
      ),
      body: ListView.builder(
          itemCount: 5,
          itemBuilder: (context, indexX) {
            return ExpansionTile(
              title: Text('TESTE'),
              children: [
                Container(
                  height: 150,
                  child: ListView.builder(
                    itemCount: 5,
                    itemBuilder: (context, indexX) {
                      return ListTile(
                        shape: RoundedRectangleBorder(
                          borderRadius: BorderRadius.circular(10),
                          side: BorderSide(color: Colors.black),
                        ),
                        title: Text(indexX.toString()),
                      );
                    },
                  ),
                )
              ],
            );
          }),
    );
  }
}

```
</details>
<details>

<summary>Flutter doctor -v</summary>

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale pt-BR)
    • Flutter version 2.2.3 at /Users/lsworkstation/flutter
    • Framework revision f4abaa0735 (9 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 30.0.3)
    • Android SDK at /Users/lsworkstation/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/lsworkstation/Library/Android/sdk
    • Java binary at: /opt/homebrew/Cellar/openjdk@11/11.0.12/libexec/openjdk.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Homebrew (build 11.0.12+0)
    • 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.2

[✓] 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.

[✓] VS Code (version 1.59.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • iPhone 11 Pro Max (mobile) • ACB93FCC-2A7B-4AFA-A1A3-8BB85BF56AE5 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 92.0.4515.107
    ! Error: iPhone de Leonardo is not connected. Xcode will continue when iPhone de Leonardo is connected. (code -13)
    ! Error: iPad de Leonardo is not connected. Xcode will continue when iPad de Leonardo is connected. (code -13)

! Doctor found issues in 1 category.
➜  ~ 

```

</details>