How to solve showing loading only in flutter - flutter

I am new in flutter. When I use flutter run,there are no errors and I can see all the things in my apps. But after I build the apk, it only show loading . Can I know how to solve it?

flutter is not automatic add that permission.
so at the time of building app for release you must add dependancy for Internet
you can follow my this answer

Related

flutter will pop scope not working in iOS

If I use will_pop_scope in my flutter code then it will be run perfectly for android but it not working in iOS. Any other third party packages or gesture swipes are also not working.
If anyone showing this post from flutter community then please help me out from this problem and
please fix this issue from google devs or framework flutter insider devs

Copy Paste not working in my Flutter Overlay android App

I am using an Android plugin for displaying flutter app over other android apps: android_window 0.1.1, Some functionalities are still missing in the Overlay Widget, not in the home, the most important for me is the Copy Paste, I can't Copy paste using Clipboard.setData or other Plugins, This is a simple code example reproducing the issue: Github, I am testing using my Huawei P20 Lite.
Any little help will be very welcome, Thank you in advance.

Flutter Detect Notification Tray Pulldown

I'm trying to implement a feature based on the background/foreground status of a Flutter app.
Does anyone know of a way to detect if the notification/system try on a device is pulled down over the app?
Thanks.
Welcome to SOF
You can detect this using special permission in Android (https://developer.android.com/reference/android/Manifest.permission#EXPAND_STATUS_BAR).
But you need native code to run in Flutter.
There is a similar (almost) package out there, you may fork it:
https://pub.dev/packages/notification_shade

How to set resource-id/content-desc in flutter app for automation using Appium?

To automate flutter app using Appium, we need to set the resource-id (for Android) and accessibility-Id/content-desc (for iOS) of any element/control in the flutter app. To get resource-id and accessibility-Id in the Appium tree view of flutter app, what should be done? Please help with possible solutions to achieve this.
Please refer below screenshot of Appium tree view which shows the missing resource-id.
Flutter version = 1.17.5
Please take a note that we have already tried "key" property of Widget for unique identification but it didn't work.
You can check this thread about Flutter support for Appium.
You can use semanticLabel field, but it still feels like Flutter driver for Appium is far from stable state.

Is it possible to launch a third party app from my flutter app?

I am trying to launch a third-party app from my flutter but I’m not getting anywhere. In this case, I am trying to open the app “Amazon Alexa” by clicking on a raised button in Flutter. Can anyone help me out?
I tried to use url_launcher but it didn’t work out with third-party apps.
yes, some packages are available but the issue is, these are still in the early stages.
so for that, you need to move to the native side.