Category "flutter"

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

How do I programmatically simulate onTap on a button in Flutter?

For example: // Update: This GestureDetector is embedded inside a third party package // that will invoke a series of animation along with the onTap button Gest

Flutter PDF Viewer for Linux desktop

I developing some kind of chat application with PDF viewing functions on Flutter for Android and Linux desktop platforms. So i want to embed PDF viewer in flutt

Flutter not detecting sdk cmdline tools

Running flutter doctor gives me the "cmdline-tools component is missing" error, even though I installed Android SDK command-line tools in android studio, I also

GridView inside Expanded not visible, only visible when using Container with a specified height

I have a gridview that I'd like to display in a non-specific height container. However, the gridview only shows up when I use container with a specified height.

Too many recently failed requests for ad unit ID (AdMob)

Too many recently failed requests for ad unit ID: ca-app-pub-XXXX. You must wait a few seconds before making another ad request. I erased all contents of simula

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

How to create a dotted border around a box in flutter?

I am building a list of boxes layouts in my app using flutter. I want dotted border around the box. I have used card widget to create the boxes. But, how can I

Converting a byte array to image in Flutter?

I want to get a image from my REST API service however haven't found any documentation on how to decode the response body that would be a byte array to an image

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

How to make a complex query to the firebase in flutter

My firestore-firebase database looks like: products -> collection Name | uid1 -> Document id | price : "200" | category: "a" | uid2

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:

Listening For Device Orientation Changes In Flutter

I am looking for a way of listening for changes to the phones orientation, with the intent to hide something if the phone is Landscape. My Layout is currently

Text Overflow inside container creating design such as messenger messages in which text is inside container in which height and width not mentioned

I want container to maintain its height and width according to the text without the text overflowing such as if there is small text width is small but if text i