English 中文(简体)
闪光镜显示发射的白色屏幕,并hang在屏幕上
原标题:Flutter iOS showing white screen on launch and hang up on that screen

Flutter iOS app showing white screen on launch and hang up on that screen

在缺席的安乐器中,它进行罚款,但当我管理时,它显示一个白色屏幕。

fortoers-MBP:ios fortoer$ flutter run
Changing current working directory to: /Users/fortoer/Desktop/Measurements/Flutterapp
Launching lib/main.dart on iPhone 12 Pro in debug mode...
Running pod install...                                              3.0s
Upgrading Pods-Runner-frameworks.sh
Running Xcode build...                                                  
 └─Compiling, linking and signing...                        11.8s
Xcode build done.                                           74.0s
[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
#0      NotificationHelper.initialize (package:flutter_sixvalley_ecommerce/notification/notification_helper.dart:23:50)
#1      main (package:flutter_sixvalley_ecommerce/main.dart:87:28)
<asynchronous suspension>
Syncing files to device iPhone 12 Pro...                           717ms

Flutter run key commands.
r Hot reload. ???
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on iPhone 12 Pro is available at: http://127.0.0.1:53665/PZkrDfHI4KA=/
The Flutter DevTools debugger and profiler on iPhone 12 Pro is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:53665/PZkrDfHI4KA=/

fortoers-MBP:ios fortoer$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.4.1 22F770820d darwin-arm64, locale en-SA)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources
问题回答

See if these steps help. Step1:-Add the flutter Plugin. ... Step2:-Initialise flutter_native_splash in pubspec.yaml file. ... Step3:-Customise the settings. ... Step4:-Run the Package and check the output.





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签