Category "dart"

A problem was found with the configuration of task ':app:checkDebugManifest' (type 'CheckManifest') in flutter

I was building my app, when this error occured while building - FAILURE: Build failed with an exception. * What went wrong: A problem was found with the config

Failed to register a ServiceWorker (Flutter)

I'm working on a Flutter Web App and today I got these errors: A bad HTTP response code (404) was received when fetching the script. Uncaught (in promi

Command not recognized in Flutter/Dart

I am trying to clean and rebuild Gradle, as I am stuck on: Running Gradle task 'assembleDebug'... Yet when trying to use the command ./gradlew clean, it gives t

Flutter: CocoaPods could not find compatible versions for pod "FBSDKCoreKit"

I am build a flutter app and in that I developing logging with Facebook in a flutter. i used flutter_facebook_login: ^3.0.0 and flutter_facebook_auth: ^3.3.2 p

Flutter Location service no response

I am delevoping an app with gMaps and in my application I am getting location permission from user and after that I am requesting the user to turn his/her gps o

How to create Confetti animation in Flutter

I want to a make Confetti effect animation in my flutter app? How to Explore Confetti Animation In Flutter and how to add the confetti animation and show a colo

Flutter: There should be exactly one item with [DropdownButton]'s value

I am trying to create a dropdown button in Flutter. I am getting a List from my database then I pass the list to my dropdownButton everything works the data is

Learning flutter from c# models and http call using http.dart for first time

I am learning dart coming from a c# back ground and flutter. I am following this tutorial https://www.djamware.com/post/5f308ef7185c336b811b362a/flutter-tutoria

Flutter : audio_service with Video player

how can i use audio_service package with video player(ex : chewie or pod_player ) to play video in background and Android lock screen and notification, iOS cont

Flutter / Dart Convert Int to Enum

Is there a simple way to convert an integer value to enum? I want to retrieve an integer value from shared preference and convert it to an enum type. My enum i

Adding box shadow to TextInputField flutter

I was working on a project involving inputs. I want a box-shadow to an input. I have tried the BoxShadow widget on the container but it drops the shadow on the

Parsing Nested JSON within Flutter

I am trying to parse nested JSON from the VirusTotal API but when ran it comes back as this error, I tried a different method found in https://app.quicktype.io/

Upgraded to Flutter 3.0 from 2.8.1, getting: Warning: Operand of null-aware operation '?.' has type 'PaintingBinding' which excludes null error

Upgraded to Flutter 3.0 from 2.8.1, getting: Warning: Operand of null-aware operation '?.' has type 'PaintingBinding' which excludes null error It's on binding.

How to add a File Picker plugin in Flutter?

I am creating a Flutter project in which, I have a piece of data (JSON) that I want to Import from and Export to a location the user wants to. In order to achie

How to programmatically select BottomNavigationBar Tab in Flutter instead of built in onTap callback?

I have been working with BottomNavigationBar in the flutter, but I am not able to select a Tab programmatically outside of onTap callback of BottomNavigationBar

How to add image in Flutter

I am developing Flutter app for the first time.. I have an issue in adding a image. I have a below questions : Where to create images folder? Where to add asse

Flutter: Incorrect use of ParentDataWidget

I'm trying to do a homepage where it will scrollable with 3 or 4 titles and a horizontal lists for products once i put the ListView.builder i get this error: In

How to send email from a Flutter Web application?

I'm trying to send email from a Flutter Web application using mailer package but I'm getting this error: Unsupported operation: Socket constructor It seem

Sort maps in Dart by key or by value

I have the following map Map testMap = { 3 : { 'order': 3, 'sample' : 'sample' }, 2 : { 'order': 2, 'sample' : 'sample' }, 1 : {

OAuth2: No login dialog after log out, direct log in of last user

I am building a flutter app that needs the user to authenticate against an identity provider in order to user the app. I am using the package simple_auth_flutt