Category "dart"

Web view page is empty if clicks the back arrow in flutter?

I have a WebView page with multiple links. By clicking the links it will open another WebView page with a close button. If I click the close button, the current

How to get a floating box when i click on a button in flutter

I want to make this type of UI - Like this dialog opens when we click on "Other Details" and appears just below it. Is there any package for this? Else I will

UrlLauncher( 9700): component name for mailto is null

So I know that for android version >= 30 you need to add queries in the manifest, but this didnt do the trick for me. Im using Android Version 29. I neverthe

How can I connect all my flutter application connections to a proxy? Like a vpn

I live in Iran, which is under sanctions, and I am currently using the API, which is under sanctions I wanted to see if there was a way I could proxy the whole

Firebase unable to process request due to missing initial state

I am trying to use phone auth from firebase and I get this error now. Unable to process request due to missing initial state. This may happen if browser session

infinite scrolling from flutter application that fetch data from wordpress rest api based on categories fetch data not according to their category

infinite scrolling from flutter application that fetches data from WordPress rest API based on categories... I tried to fetch data based on categories but it di

SocketException (SocketException: Failed host lookup: 'test' (OS Error: nodename nor servname provided, or not known, errno = 8))

I've looked elsewhere and every site keeps telling me this is effectively an internet connectivity error... But I know that can't be correct. I'm using Flutte

Flutter Local Notification only showing dot on Android

I am using Local Notifications for my app and it is working fine on my iPhone but when firing a Notification on my Android Simulator it is not showing the Notif

Flutter Dart convert nullable int? to nullable String?

I must pass int? parameter to method where I can use only String? parameter. How to do it shorter? void mymethod(String? s) { print(s ?? "Empty"); } int? a =

Obtaining data from Firebase and creating an object in Flutter, Dart

I would like to create an Object using data from my Firebase database. I get the data correctly, but I can't create that Objet in the way im trying. I have no i

Use provider in streamBuilder

When I use code below : In audioService plugin StreamBuilder<ScreenState>( stream: Rx.combineLatest3<List<MediaItem

Connection terminated during handshake flutter

It's really frustrating, wasted 3 days to get rid of but still on stuck problem showing on macos catalina version 10.15.1 and windows 7 also. My two PC's showin

Flutter categories list base on another list of data

I have two lists and need to get the category of each word and display it as a group. my first list is where data is coming from. final WordsList = [ { 'c

: assert(map['apiKey'] != null, "'apiKey' cannot be null."),

i'm trying to develop an app on Android studio, with firebase tools. Despite i have a file in the lib firebase_options (created with flutterfire configure), it

flutter dropdownbutton issue with provider statemangement

hello guys as a beginner on flutter i'm having an issue with the dropdownbutton widget as shown on the joined GIF on the backend everything seems to work norma

Flutter - Unhandled Exception: type 'String' is not a subtype of type 'int' of 'index'

I'm trying to get an api, I can print the api response in the console. However, when I'm receive the respond to my model class, console shows and error like thi

How to Auto New Line if a text overflows flutter

Hello right now I am making Quran App.. I am fetching data from json file.I would like to ask how do I create a new line if it overflows like in the picture? I

Can't send an email through url_launcher

I try to send an email whenever a user clicks on an individual's email address. However, I ran into an error. I am testing through the Android emulator. Doesn't

bottom navigation bar: Navigate back to nav bar item from any screen in the app / Navigator.pushNamed instead of creating an object instance flutter

I would like to use Navigator.pushNamed(context, '/route-name'); instead of creating an object instance. I'm trying to get back to a single instance of the call

How can I spread a List in Dart?

Is there any way to unpack a list in dart? I want to do something similar to this python snippet: return proc(*args)