Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter application crashing on build on iOS. #123

Open
mishrhm opened this issue Mar 18, 2022 · 0 comments
Open

Flutter application crashing on build on iOS. #123

mishrhm opened this issue Mar 18, 2022 · 0 comments

Comments

@mishrhm
Copy link

mishrhm commented Mar 18, 2022

The app is getting built by Xcode & launches with a white screen & crashes.
The only output displayed in the console is a warning from this plugin.

Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
Xcode build done. 91.2s
remote notifications are not supported in the simulator
Debug service listening on ws://127.0.0.1:51859/afEFfGq37EE=/ws
Syncing files to device iPhone 13...
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/datetime_picker_formfield-2.0.0/lib/datetime_picker_formfield.dart:306:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.

  • 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../Developer/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
    ^
    Lost connection to device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant