Category "dart"

How can I decode a hexadecimal to a byte array in Dart?

So there's the 'dart:convert' library, which contains a HexDecoder class that doesn't seem to have a constructor (according to this). But importing it and tryin

Subclassing Widgets with complex signatures

As far as I found out, RadioListTile with Text als child has unlimited with. As a helper class, I'd like to subclass RadioListTile with a default Text child of

when i'm creating flutter new project lib folder is missing in andorid studio

when I am creating new flutter project in Andorid studio lib folder is missing how to fix it? I run flutter doctor everything is fine but I am facing this prob

Unable to upload data on firebase console

I am Unable to upload data on firebase console. I have written all the code, import all the libraries, and also follow all the steps to upload data on firebase

How i can reapirt problem in new flutter project

When i create new flutter project and click run i have this problem "Could not initialize class com.android.sdklib.repository.AndroidSdkHandler" enter image des

Drop down widget is not showing in flutter

I am design a screen in which I need to opening a drop down list when user click on textfield till now I am using CupertinoActionSheetAction sheet which is corr

How do I share an image on iOS and Android using Flutter?

I would like to share an image using the standard share dialogs in iOS and Android. The code below is mostly from https://pub.dartlang.org/packages/share which

Flutter Firestore real-time pagination using multiple listeners streamed combined

I want to create a pagination screen, using Bloc, from the Firestore database. The screen should update on document changes. My FirestoreProviderApi receives fe

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.aol.Application" on path: DexPathList error flutter

I am trying to run a project but I found an error: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.aol.Application" on path: DexPath

Plugin with id 'kotlin-android' not found. flutter

I am creating a project that connected to a firebase, but I think the problem not in the firebase...... I found this error when I am trying to run the project:

How to expand a textField in flutter looks like a text Area

When i tap in textField in landScape mode i would like to expand in full screen likes whatsapp Example gif Whats TextFormField( keyb

E/flutter (24259): Unhandled Exception: Bad state: Cannot set the body fields of a Request with content-type "application/json"

var filterQuerry =algolia.instance.index(indexName.value.toString()).facetQuery("cast"); I am trying to use facetQuerry method of Algolia packega but I am faci

TextFormField validator not working - The method 'validate' was called on null

I am trying to build a simple login page for a new flutter app. The widget tree is very basic. It consists of a MaterialApp that contains a Scaffold. The 'home'

How get the first letter of displayName of a user during google sign in by using flutter and firestore?

And How capitalize the displayName first element? How I get the capital first letter of displayName of user, who just registered on my app and store the first l

Flutter Error on Real iOS Device: "module 'fluttertoast' not found"

My flutter app is working properly in iOS Simulator. I have added fluttertoast by: Adding it on pubspec.yaml dependencies: flutter: sdk: flutter cupertino_icons

Flutter TextField change Icon color when selected

Goal: Changing the color of the prefixIcon next to the TextField when clicking on the TextField. TextField( decoration: InputDecoration( prefixIcon: Icon(

Is there a way I can get flutter to rebuild a gridview every time a flatbutton is pressed?

I am developing a maze app on flutter. I have a grid of 100 flatButtons that all start as grey. When a flatButton is pressed, I want it to turn green if the mov

flutter multiple postwith php api problem

I am sending multiple user_id with form data in a flutter to PHP page but my PHP API did not see array or obj. I used this code for other projects it could work

Flutter: Coverage:ignore not working with async methods

I can't ignore any async Functions from code coverage. I try to exclude File.exists() from my Code coverage. Attempts: Tried with // coverage:ignore-line ->

Where do I get SHA-1 certificate fingerprint using flutter? (using flutter create --androidx ProjectName)

I want to make a simple login page using flutter, and using it with firebase. The first step when I created the project my code: flutter create --androidx Proje