Repository: flutter
Issue: [Linux][Fedora] Displaying StackTrace text with Monospace font in ExpansionTile causes infinite size error
Labels: c: crash,engine,a: typography,platform-linux,a: desktop,has reproducible steps,P2,found in release: 2.2,found in release: 2.5,team-linux,triaged-linux

<!-- 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
-->

I tried using plain text and there is no exception. This only happens with a stack trace and only with Monospace font, it probably contains some symbols or a special structure of text. Android and Web don't crash on it, only Linux (Windows and macOS are not tested).

Example:
```Dart
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Stack Trace Monospace Font Bug',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Stack Trace Monospace Font Bug'),
        ),
        body: SingleChildScrollView(
          child: ExpansionTile(
            title: Text('Show stack trace'),
            children: [
              Text(
                StackTrace.current.toString(),
                style: Theme.of(context)
                    .textTheme
                    .bodyText2!
                    .copyWith(fontFamily: 'Monospace'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
```

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Create an `ExpansionTile` widget, put a `Text` widget with the content of `StackTrace` in it. 
2. Set the `Text.style` property to any `TextStyle` value with `fontFamily` == `'Monospace'`
3. Run the example on a Linux system, click on `ExpansionTile`.

**Expected results:** <!-- what did you want to see? -->
Stack trace text should display normally in Monospace font.

**Actual results:** <!-- what did you see? -->
Render crash occurs:
<details>
  <summary>Crash log</summary>

```
════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during performLayout():
RenderParagraph object was given an infinite size during layout.

This probably means that it is a render object that tries to be as big as possible, but it was put inside another render object that allows its children to pick their own size.
The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#ec01c relayoutBoundary=up13 NEEDS-LAYOUT
The constraints that applied to the RenderParagraph were: BoxConstraints(0.0<=w<=1280.0, 0.0<=h<=Infinity)
The exact size it was given was: Size(821.0, Infinity)

See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.

The relevant error-causing widget was
Text
When the exception was thrown, this was the stack
#0      RenderBox.debugAssertDoesMeetConstraints.<anonymous closure>
#1      RenderBox.debugAssertDoesMeetConstraints
#2      RenderBox.size=.<anonymous closure>
#3      RenderBox.size=
#4      RenderParagraph.performLayout
...
The following RenderObject was being processed when the exception was fired: RenderParagraph#eabb6 relayoutBoundary=up22 NEEDS-LAYOUT NEEDS-PAINT
RenderObject: RenderParagraph#eabb6 relayoutBoundary=up22 NEEDS-LAYOUT NEEDS-PAINT
    parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
    constraints: BoxConstraints(0.0<=w<=1280.0, 0.0<=h<=Infinity)
    size: Size(821.0, Infinity)
    textAlign: start
    textDirection: ltr
    softWrap: wrapping at box width
    overflow: clip
    locale: en_US
    maxLines: unlimited
    text: TextSpan
        debugLabel: ((englishLike body1 2014).merge(blackHelsinki bodyText2)).copyWith
        inherit: false
        color: Color(0xdd000000)
        family: Monospace
        familyFallback: Ubuntu, Cantarell, DejaVu Sans, Liberation Sans, Arial
        size: 14.0
        weight: 400
        baseline: alphabetic
        decoration: TextDecoration.none
"#0      MyApp.build
#1      StatelessElement.build
#2      ComponentElement.performRebuild
#3      Element.rebuild
#4      ComponentElement._firstBuild
#5      ComponentElement.mount
#6      Element.inflateWidget
#7      Element.updateChild
#8      RenderObjectToWidgetElement._rebuild
#9      RenderObjectToWidgetElement.mount
#10     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure>
#11     BuildOwner.buildScope
#12     RenderObjectToWidgetAdapter.attachToRenderTree
#13     WidgetsBinding.attachRootWidget
#14     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure>
#15     _rootRun (dart:async/zone.dart:1346:47)
#16     _CustomZone.run (dart:async/zone.dart:1258:19)
#17     _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#18     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
#19     _rootRun (dart:async/zone.dart:1354:13)
#20     _CustomZone.run (dart:async/zone.dart:1258:19)
#21     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1186:23)
#22     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#23     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:395:19)
#24     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:426:5)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
"

════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderFlex object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderPadding object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderOffstage object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderPositionedBox object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderClipRect object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderFlex object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderPadding object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderDecoratedBox object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderOffstage object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderClipRect object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderFlex object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderPadding object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderDecoratedBox object was given an infinite size during layout.
The relevant error-causing widget was
ExpansionTile
════════════════════════════════════════════════════════════════════════════════
```
</details>


<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[  +70 ms] executing: uname -m
[  +37 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +6 ms] executing: [/home/user/dev/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +7 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] executing: [/home/user/dev/flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[  +27 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] 2.2.3
[   +5 ms] executing: [/home/user/dev/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/user/dev/flutter/] git ls-remote --get-url origin
[   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +85 ms] executing: [/home/user/dev/flutter/] git rev-parse --abbrev-ref HEAD
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +62 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +46 ms] executing: /home/user/dev/Android/sdk/platform-tools/adb devices -l
[  +44 ms] List of devices attached
[   +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Multiple devices found:
[ +166 ms] Linux (desktop) • linux  • linux-x64      • Linux
[   +2 ms] Chrome (web)    • chrome • web-javascript • Chromium 90.0.4430.85
[   +3 ms] [1]: Linux (linux)
[        ] [2]: Chrome (chrome)
[   +3 ms] Please choose one (To quit, press "q/Q")
[        ] : 
[+5791 ms] 1
[  +25 ms] Skipping pub get: version match.
[ +145 ms] Generating /home/user/flutter_application_1/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +80 ms] Initializing file store
[  +10 ms] Skipping target: gen_localizations
[   +9 ms] complete
[   +4 ms] Launching lib/main.dart on Linux in debug mode...
[   +5 ms] /home/user/dev/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/user/dev/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/user/dev/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.SFLLIR/flutter_tool.OVOWQB/app.dill --packages
/home/user/flutter_application_1/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +23 ms] Building Linux application...
[  +12 ms] <- compile package:flutter_application_1/main.dart
[   +4 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/user/flutter_application_1/linux
[  +52 ms] -- Configuring done
[   +4 ms] -- Generating done
[  +10 ms] -- Build files have been written to: /home/user/flutter_application_1/build/linux/x64/debug
[   +4 ms] executing: ninja -C build/linux/x64/debug install
[  +10 ms] ninja: Entering directory `build/linux/x64/debug'
[+12814 ms] [1/5] Generating /home/user/flutter_application_1/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_value.h, /home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/user/flutter_application_1/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +3 ms] [  +68 ms] executing: uname -m
[        ] [  +38 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +6 ms] executing: [/home/user/dev/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [        ] executing: [/home/user/dev/flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [  +25 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [        ] 2.2.3
[        ] [   +5 ms] executing: [/home/user/dev/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/user/dev/flutter/] git ls-remote --get-url origin
[        ] [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +59 ms] executing: [/home/user/dev/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +50 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +90 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +24 ms] Initializing file store
[        ] [  +13 ms] Skipping target: gen_localizations
[        ] [   +6 ms] unpack_linux: Starting due to {}
[        ] [ +291 ms] kernel_snapshot: Starting due to {}
[        ] [   +3 ms] unpack_linux: Complete
[        ] [+1395 ms] /home/user/dev/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/user/dev/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/user/dev/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/user/flutter_application_1/.dart_tool/package_config.json
--output-dill /home/user/flutter_application_1/.dart_tool/flutter_build/b03697d41ac1c95cd62492801fb8d999/app.dill --depfile
/home/user/flutter_application_1/.dart_tool/flutter_build/b03697d41ac1c95cd62492801fb8d999/kernel_snapshot.d package:flutter_application_1/main.dart
[   +4 ms] [+9036 ms] kernel_snapshot: Complete
[        ] [ +341 ms] debug_bundle_linux-x64_assets: Starting due to {}
[        ] [ +182 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +438 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +9 ms] "flutter assemble" took 11 865ms.
[        ] [   +4 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[        ] [2/5] Building CXX object CMakeFiles/flutter_application_1.dir/my_application.cc.o
[        ] [3/5] Building CXX object CMakeFiles/flutter_application_1.dir/flutter/generated_plugin_registrant.cc.o
[ +131 ms] [4/5] Linking CXX executable intermediates_do_not_run/flutter_application_1
[        ] [4/5] Install the project...
[  +16 ms] -- Install configuration: "Debug"
[  +37 ms] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/flutter_application_1
[        ] -- Set runtime path of "/home/user/flutter_application_1/build/linux/x64/debug/bundle/flutter_application_1" to "$ORIGIN/lib"
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/icudtl.dat
[   +1 ms] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[ +111 ms] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +38 ms] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[        ] -- Installing: /home/user/flutter_application_1/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[  +11 ms] Building Linux application... (completed in 13,3s)
[ +285 ms] Observatory URL on device: http://127.0.0.1:43793/Ck7nS8qLGzg=/
[  +10 ms] Caching compiled dill
[  +70 ms] Connecting to service protocol: http://127.0.0.1:43793/Ck7nS8qLGzg=/
[ +275 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:43793/Ck7nS8qLGzg=/.
[  +81 ms] DDS is listening at http://127.0.0.1:38115/Azvjz2SjIHk=/.
[  +59 ms] Successfully connected to service protocol: http://127.0.0.1:43793/Ck7nS8qLGzg=/
[  +19 ms] DevFS: Creating new filesystem on the device (null)
[  +51 ms] DevFS: Created new filesystem on the device (file:///tmp/flutter_application_1TTPDZZ/flutter_application_1/)
[   +1 ms] Updating assets
[  +70 ms] Syncing files to device Linux...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:flutter_application_1/main.dart cc4f4b26-7f57-42f0-bfa8-bbc534075dc0
[        ] <- cc4f4b26-7f57-42f0-bfa8-bbc534075dc0
[  +86 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Linux... (completed in 91ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[  +45 ms] Connected to _flutterView/0x23c3a40.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +2 ms] An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:38115/Azvjz2SjIHk=/
[  +30 ms] Activating Dart DevTools...
[+1792 ms] 
                    ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
                    The following assertion was thrown during performLayout():
                    RenderParagraph object was given an infinite size during layout.
                    This probably means that it is a render object that tries to be as big as possible, but it was put
                    inside another render object that allows its children to pick their own size.
                    The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#45a51 relayoutBoundary=up13 NEEDS-LAYOUT:
                      needs compositing
                      creator: _SingleChildViewport ← IgnorePointer-[GlobalKey#7d171] ← Semantics ← Listener ←
                        _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#ba776] ←
                        Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#b2c0c] ← RepaintBoundary ←
                        CustomPaint-[GlobalKey#c970a] ← _RawMouseRegion ← ⋯
                      parentData: <none> (can use size)
                      constraints: BoxConstraints(0.0<=w<=1280.0, 0.0<=h<=664.0)
                      layer: OffsetLayer#bd05f
                      size: Size(1280.0, 50.0)
                    The constraints that applied to the RenderParagraph were:
                      BoxConstraints(0.0<=w<=1280.0, 0.0<=h<=Infinity)
                    The exact size it was given was:
                      Size(821.0, Infinity)
                    See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.
                    
                    The relevant error-causing widget was:
                      Text file:///home/user/flutter_application_1/lib/main.dart:20:15
                    
                    When the exception was thrown, this was the stack:
                    #0      RenderBox.debugAssertDoesMeetConstraints.<anonymous closure> (package:flutter/src/rendering/box.dart:2206:9)
                    #1      RenderBox.debugAssertDoesMeetConstraints (package:flutter/src/rendering/box.dart:2300:6)
                    #2      RenderBox.size=.<anonymous closure> (package:flutter/src/rendering/box.dart:1992:7)
                    #3      RenderBox.size= (package:flutter/src/rendering/box.dart:1994:6)
                    #4      RenderParagraph.performLayout (package:flutter/src/rendering/paragraph.dart:658:5)
                    #5      RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #6      ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:54:11)
                    #7      RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:829:43)
                    #8      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:931:32)
                    #9      RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #10     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:233:12)
                    #11     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #12     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #13     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3370:13)
                    #14     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #15     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:437:14)
                    #16     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #17     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #18     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1369:11)
                    #19     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #20     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:54:11)
                    #21     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:829:43)
                    #22     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:931:32)
                    #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #24     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:233:12)
                    #25     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #26     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #27     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #28     _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:581:14)
                    #29     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #30     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #32     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #34     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #35     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #36     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #37     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #38     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #39     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #40     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #41     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #42     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #43     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #44     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #45     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:545:11)
                    #46     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #47     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #48     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #49     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #50     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #51     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #52     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #53     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:116:14)
                    #54     RenderObject.layout (package:flutter/src/rendering/object.dart:1779:7)
                    #55     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
                    #56     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:937:7)
                    #57     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
                    #58     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:404:14)
                    #59     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1636:7)
                    #60     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:881:18)
                    #61     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:462:19)
                    #62     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:876:13)
                    #63     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
                    #64     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
                    #65     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
                    #66     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
                    #70     _invoke (dart:ui/hooks.dart:163:10)
                    #71     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
                    #72     _drawFrame (dart:ui/hooks.dart:126:31)
                    (elided 3 frames from dart:async)
                    
                    The following RenderObject was being processed when the exception was fired: RenderParagraph#dc487 relayoutBoundary=up22 NEEDS-LAYOUT NEEDS-PAINT:
                      creator: RichText ← Text ← Column ← Padding ← _EffectiveTickerMode ← TickerMode ← Offstage ← Align ←
                        ClipRect ← Column ← Padding ← DecoratedBox ← ⋯
                      parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
                      constraints: BoxConstraints(0.0<=w<=1280.0, 0.0<=h<=Infinity)
                      size: Size(821.0, Infinity)
                      textAlign: start
                      textDirection: ltr
                      softWrap: wrapping at box width
                      overflow: clip
                      locale: en_US
                      maxLines: unlimited
                    This RenderObject had the following child:
                        text: TextSpan
                    ════════════════════════════════════════════════════════════════════════════════════════════════════
[   +3 ms] 
           Another exception was thrown: RenderFlex object was given an infinite size during layout.
[        ] 
           Another exception was thrown: RenderPadding object was given an infinite size during layout.
[        ] 
           Another exception was thrown: RenderOffstage object was given an infinite size during layout.
[  +19 ms] 
           Another exception was thrown: RenderPositionedBox object was given an infinite size during layout.
[        ] 
           Another exception was thrown: RenderClipRect object was given an infinite size during layout.
[        ] 
           Another exception was thrown: RenderFlex object was given an infinite size during layout.
[   +4 ms] 
           Another exception was thrown: RenderPadding object was given an infinite size during layout.
[  +11 ms] 
           Another exception was thrown: RenderDecoratedBox object was given an infinite size during layout.
[  +41 ms] 
           Another exception was thrown: RenderOffstage object was given an infinite size during layout.
[   +8 ms] 
           Another exception was thrown: RenderClipRect object was given an infinite size during layout.
[  +19 ms] 
           Another exception was thrown: RenderFlex object was given an infinite size during layout.
[  +10 ms] 
           Another exception was thrown: RenderPadding object was given an infinite size during layout.
[  +14 ms] 
           Another exception was thrown: RenderDecoratedBox object was given an infinite size during layout.
[  +90 ms] Activating Dart DevTools... (completed in 2 018ms)
[ +700 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9102?uri=http%3A%2F%2F127.0.0.1%3A38115%2FAzvjz2SjIHk%3D%2F
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
No issues found! (ran in 1.5s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale ru_RU.UTF-8)
    • Flutter version 2.2.3 at /home/user/dev/flutter
    • Framework revision f4abaa0735 (5 недель назад), 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 /home/yaroslav/dev/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /home/yaroslav/dev/Android/sdk
    • Java binary at: /home/yaroslav/dev/Android/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/chromium-freeworld

[✓] Linux toolchain - develop for Linux desktop
    • clang version 12.0.0 (Fedora 12.0.0-2.fc34)
    • cmake version 3.20.5
    • ninja version 1.10.2
    • pkg-config version 1.7.3

[✓] Android Studio (version 4.2)
    • Android Studio at /home/yaroslav/dev/Android/android-studio
    • Flutter plugin version 58.0.1
    • Dart plugin version 202.8531
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /home/yaroslav/bin/intellij-idea
    • 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

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Chromium 90.0.4430.85
```

</details>