Repository: flutter
Issue: IntrinsicHeight work incorrect with Text/RenderParagraph
Labels: framework,has reproducible steps,P2,found in release: 2.2,found in release: 2.5,team-framework,triaged-framework

Text height calculate incorrect when IntrinsicHeight try to get height constrains:

![image](https://user-images.githubusercontent.com/14288495/128052239-9d0c5670-55a2-4df4-bf18-f3556a549869.png)

## Steps to Reproduce

```dart
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const MyStatelessWidget(),
      ),
    );
  }
}

class MyStatelessWidget extends StatelessWidget {
  const MyStatelessWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return LayoutBuilder(
      builder: (BuildContext context, BoxConstraints viewportConstraints) {
        return SingleChildScrollView(
          child: ConstrainedBox(
            constraints: BoxConstraints(
              minHeight: viewportConstraints.maxHeight,
            ),
            child: IntrinsicHeight(
              child: Center(
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.center,
                  children: <Widget>[
                    ConstrainedBox(
                      constraints: const BoxConstraints(
                        maxWidth: 310,
                      ),
                      child: Container(
                        color: Colors.amber,
                        child: Column(
                          children: [
                            for (var i = 0; i < 100; i++)
                              Text(
                                  'test test test test, test test test test test test test test'),
                          ],
                        ),
                      ),
                    ),
                  ],
                ),
              ),
            ),
          ),
        );
      },
    );
  }
}

```

## More deep explanation:

In my example height of all Text should be 34 pixels becauce text wrapped to next line.

![image](https://user-images.githubusercontent.com/14288495/128052763-1155cdf8-559b-4cb9-b68e-4803857bcf87.png)

But when i debug how IntrinsicHeight calculate height, and down to RenderParagraph the method `_computeIntrinsicHeight` return that text.height is 16 pixels, but in should return 34 because text should wrap.

![image](https://user-images.githubusercontent.com/14288495/128053416-93c73a0e-9850-4d46-8b0a-9fc387091dfe.png)


## My env:
```console
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale ru-RU)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
[✓] VS Code (version 1.58.0)
[✓] Connected device (3 available)
    ! Device 93FAY0ARF8 is not authorized.
      You might need to check your device for an authorization dialog.

! Doctor found issues in 1 category.

```