Category "dart"

Error: Could not find the correct Provider<ClientsProvider> above this Clients Widget in flutter?

I'm getting a list of clients from the Api, in a clients' list screen, when I want to Update a client, I navigate through DetailClient Screen than navigating th

Error setting-up flutter_localizations package "Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'."

This error appears when I try to add language support to my flutter application: Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.da

How can I get day name from string date '22 May 2022' in flutter

I am a beginner in Flutter, I want to get day name [like Sunday] from a date, date i am getting from api which is basically a string like '22 May 2022' How can

flutter problem: "Could not resolve all files for configuration ':classpath'."

I run simple flutter "show random word" project but i have this error: this is my gradle-wrapper.properties file: #Fri Jun 23 08:50:38 CEST 2017 distributionBa

Playing Vimeo videos in Flutter

I'm trying to play vimeo videos in flutter app using the video_player plugin but got no success, it's throwing bunch of errors. please help me how I might go a

How to reshape the flutter (dart) list

Iam working with tflite library which requires an array with shape of [1, 150, 3] and i have 3 arrays of [150], when i try to make a list of the 3 list it shape

Flutter push notifications app background : firebase_messaging

I want to display a push notification when my app is in the background. I am using the flutter_local_notifications package and the firebase_messaging package. P

is there a way to upload data from a FormField with a dropdown list to firebase...im get null value after uploading to firebase

this is the formField that is uploading no value i tried using a controller but seems now event compatible.the rest of the textformfields are working but i dont

FormatException: Unexpected character (at line 439, character 1) } with arb file

I have two .arb files in my project, everything was working fine, but today I added two strings and I am receiving this error when I am doing flutter pub get: G

How to save session data permenantly when the data are sent from Flutter function using http.post method

I want to access the session value in PHP from another PHP file that is assigned with a value sent from the Flutter HTTP.post method. When I try this I got the

Flutter: Id does not exist when try to run my code

I have a Flutter application and when I try to run my code, it throw a warning that says the id does not exist. How can I get out of this warning? ======== Exce

How to add a project from android studio to Gitlab in an existing project?

I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can

How to add a project from android studio to Gitlab in an existing project?

I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can

Parse string to widget in Flutter

I want to parse the following string to its equivalent Flutter widgets: String fetchedFromServer = ''' Container( child: Text("Hello") ) '''; I want to r

Material Design drawer not showing in Flutter Web

I am trying to figure out why the drawer widget is not rendered in my Flutter Web page. import 'package:responsive_builder/responsive_builder.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