Repository: flutter
Issue: State object has a null widget during call to initState.
Labels: c: crash,platform-android,framework,a: error message,a: production,P2,team-android,triaged-android

I got a weird error via my error reporting service and it's not helpfull to me at all. So I though you guys could take a look at this and maybe tell me what could be the cause... I have no reproduction code since I have no idea where it could go wrong.

### Error
```
NoSuchMethodError: The getter 'manager' was called on null.
Receiver: null
Tried calling: manager
package:flutter/src/widgets/shortcuts.dart 320 in _ShortcutsState.initState
```

### Formatted stack trace
```
{
    "traces":[
        {
            "Library":"package:flutter/src/widgets/shortcuts.dart",
            "Line":320,
            "Method":"initState",
            "Class":"_ShortcutsState"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4355,
            "Method":"_firstBuild",
            "Class":"StatefulElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4201,
            "Method":"mount",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3194,
            "Method":"inflateWidget",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":2988,
            "Method":"updateChild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4243,
            "Method":"performRebuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3947,
            "Method":"rebuild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4206,
            "Method":"_firstBuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4381,
            "Method":"_firstBuild",
            "Class":"StatefulElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4201,
            "Method":"mount",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3194,
            "Method":"inflateWidget",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":2988,
            "Method":"updateChild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4243,
            "Method":"performRebuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3947,
            "Method":"rebuild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4206,
            "Method":"_firstBuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4201,
            "Method":"mount",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3194,
            "Method":"inflateWidget",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":2988,
            "Method":"updateChild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4243,
            "Method":"performRebuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3947,
            "Method":"rebuild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4206,
            "Method":"_firstBuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4381,
            "Method":"_firstBuild",
            "Class":"StatefulElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4201,
            "Method":"mount",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3194,
            "Method":"inflateWidget",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":2988,
            "Method":"updateChild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":4243,
            "Method":"performRebuild",
            "Class":"ComponentElement"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":3947,
            "Method":"rebuild",
            "Class":"Element"
        },
        {
            "Library":"package:flutter/src/widgets/framework.dart",
            "Line":2432,
            "Method":"buildScope",
            "Class":"BuildOwner"
        },
        {
            "Library":"package:flutter/src/widgets/binding.dart",
            "Line":773,
            "Method":"drawFrame",
            "Class":"WidgetsBinding"
        },
        {
            "Library":"package:flutter/src/rendering/binding.dart",
            "Line":283,
            "Method":"_handlePersistentFrameCallback",
            "Class":"RendererBinding"
        },
        {
            "Library":"package:flutter/src/scheduler/binding.dart",
            "Line":1102,
            "Method":"_invokeFrameCallback",
            "Class":"SchedulerBinding"
        },
        {
            "Library":"package:flutter/src/scheduler/binding.dart",
            "Line":1041,
            "Method":"handleDrawFrame",
            "Class":"SchedulerBinding"
        },
        {
            "Library":"package:flutter/src/scheduler/binding.dart",
            "Line":850,
            "Method":"scheduleWarmUpFrame.<fn>",
            "Class":"SchedulerBinding"
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":1122,
            "Method":"_rootRun",
            "Class":null
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":1023,
            "Method":"run",
            "Class":"_CustomZone"
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":925,
            "Method":"runGuarded",
            "Class":"_CustomZone"
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":965,
            "Method":"bindCallbackGuarded.<fn>",
            "Class":"_CustomZone"
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":1126,
            "Method":"_rootRun",
            "Class":null
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":1023,
            "Method":"run",
            "Class":"_CustomZone"
        },
        {
            "Library":"dart:async/zone.dart",
            "Line":949,
            "Method":"bindCallback.<fn>",
            "Class":"_CustomZone"
        },
        {
            "Library":"dart:async-patch/timer_patch.dart",
            "Line":23,
            "Method":"_createTimer.<fn>",
            "Class":"Timer"
        },
        {
            "Library":"dart:isolate-patch/timer_impl.dart",
            "Line":384,
            "Method":"_runTimers",
            "Class":"_Timer"
        },
        {
            "Library":"dart:isolate-patch/timer_impl.dart",
            "Line":418,
            "Method":"_handleMessage",
            "Class":"_Timer"
        },
        {
            "Library":"dart:isolate-patch/isolate_patch.dart",
            "Line":174,
            "Method":"_handleMessage",
            "Class":"_RawReceivePortImpl"
        }
    ]
}
```

### Error occured on devices
- Samsung SM-A320FL (Android 8.0.0)

### flutter doctor -v
```
[√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.18363.720], locale bs-Latn-BA)
    • Flutter version 1.12.13+hotfix.9 at C:\Programs\Flutter
    • Framework revision f139b11009 (2 weeks ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2


[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Anis\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = C:\Users\Anis\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.2
    • Flutter plugin version 28.0.4
    • Dart plugin version 182.4323.44

[√] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3
    • Flutter plugin version 45.0.2
    • Dart plugin version 193.6911.31

[√] VS Code, 64-bit edition (version 1.38.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.7.1

[√] Connected device (1 available)
    • ANE LX1 • 9WV4C19131006232 • android-arm64 • Android 9 (API 28)

• No issues found!
```