Repository: flutter
Issue: Title: Null check operator used on a null value. Error thrown Instance of 'ErrorDescription'. in box.dart
Labels: c: crash,framework,a: production,a: null-safety,P2,needs repro info,team-framework,triaged-framework

# Overview

The following crash happened on our iOS/Android flutter app.
Unfortunately, the stack trace does not have application code information so I could not create a reproduction code.

```
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value. Error thrown Instance of 'ErrorDescription'.
       at RenderBox.size(box.dart:1951)
       at InkDecoration.paintFeature(ink_decoration.dart:374)
       at InkFeature._paint(material.dart:649)
       at _RenderInkFeatures.paint(material.dart:550)
       at RenderObject._paintWithContext(object.dart:2409)
       at PaintingContext.paintChild(object.dart:189)
       at RenderProxyBoxMixin.paint(proxy_box.dart:140)
       at PaintingContext.pushLayer(object.dart:398)
       at RenderPhysicalModel.paint(proxy_box.dart:1941)
       at RenderObject._paintWithContext(object.dart:2409)
       at PaintingContext.paintChild(object.dart:189)
       at RenderProxyBoxMixin.paint(proxy_box.dart:140)
       at RenderObject._paintWithContext(object.dart:2409)
       at PaintingContext.paintChild(object.dart:189)
       at RenderProxyBoxMixin.paint(proxy_box.dart:140)
       at RenderObject._paintWithContext(object.dart:2409)
       at PaintingContext._repaintCompositedChild(object.dart:141)
       at PaintingContext.repaintCompositedChild(object.dart:100)
       at PipelineOwner.flushPaint(object.dart:979)
       at RendererBinding.drawFrame(binding.dart:455)
       at WidgetsBinding.drawFrame(binding.dart:883)
       at RendererBinding._handlePersistentFrameCallback(binding.dart:319)
       at SchedulerBinding._invokeFrameCallback(binding.dart:1143)
       at SchedulerBinding.handleDrawFrame(binding.dart:1080)
       at SchedulerBinding._handleDrawFrame(binding.dart:996)
```

Could you share any information about the crash if you have any ideas?


<details>
<summary>  flutter doctor -v </summary>

```
➜ flutter doctor -v
[✓] Flutter (Channel stable, 2.5.2, on macOS 11.6 20G165 darwin-arm, locale ja-JP)
    • Flutter version 2.5.2 at /Users/rls01036096/fvm/versions/2.5.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3595343e20 (9 months ago), 2021-09-30 12:58:18 -0700
    • Engine revision 6ac856380f
    • Dart version 2.14.3

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/rls01036096/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/rls01036096/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode13.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • 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
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0
[✓] Connected device (2 available)
    • iPod touch (7th generation) (mobile) • 78B35B14-ABFB-4238-9DE3-5BC42C012352 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0
      (simulator)
    • Chrome (web)                         • chrome                               • web-javascript • Google Chrome 103.0.5060.114
```


</details>