Category "flutter"

Flutter TextField Hint Text Not Align Center

Container( alignment: Alignment.center, de

Getting Incorrect use of ParentDataWidget error when I use ListView

In this part of my application I have ListView, when I run app I get this error and I can't resolve that: Scaffold( body: Directionality( textDirection: TextD

Convert List <double> to Double

I want to convert the double type of list into a double variable, my code is something like this... var _first=<double> [108,105,90.833,87.7,88.6]; v

TextField inside of Row causes layout exception: Unable to calculate size

I’m getting a rendering exception that I don’t understand how to fix. I’m attempting to create a column that has 3 rows. Row [Image] Row [T

Flutter error, Null check operator used on a null value

Whenever I tried to do register and tap on the register button then I am having this type of problem with the null check operator used on null values. I get thi

How do you detect the host platform from Dart code?

For UI that should differ slightly on iOS and Android, i.e. on different platforms, there must be a way to detect which one the app is running on, but I couldn'

Mockito generate an invalid override for Methods that have as parameter an other generated class (generated from Moor)

We generate our database entities with moor. We have an database service as an facade for all database access. There we have the method Future<DatabaseEntry?

I want to build a dynamic Tab Bar and corresponding pages which contains a list of items corresponding to that tab using complex JSON data in flutter

I'm trying to build a dynamic Tab bar using flutter that displays tabs with the tab names corresponding to my JSON data and then for each key I want to map the

Can't play sound in Flutter Android using just_audio

So, I'm trying to have this sound from Flutter assets when I click the button. And I've tried many different packages by this moment and none of them seems to w

Flutter: Play sound on button press

I'm very new to programing and especially flutter. I want to write an soundboard, basically a list of buttons and the job of each button is to play a sound that

How to make a phone call from a flutter app

I try to make a phone call from my Flutter app. With the following code: UrlLauncher.launch('tel: xxxxxxxx'); I found this Function on the GitHub flutter repo:

How to set data to TextEditingController using StreamBuilder?

I'm loading some data from database (data that user previously saved, for editing). I used StreamBuilder to set data. I have form , which i used to display data

How to update a single item in flutter list, as a best way

How to update a single item in flutter list? I need best way. Why I am saying best way? I need to update a single item and dont want when update a single ite

What is the default Curve behavior for PageView in Flutter?

The PageController of a PageView has a function animateToPage which allows to define the curve effect during page swipe. Future<void> animateToPage(

Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish

I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH. Now, once I

How to share files with a different extension

As I said in the title, I'm trying to share files converting an image file to PNG format. I have tried to use the packages share_plus and social_share. I have

Flutter stuck on 'flutter' command - no output to console and it doesn't ever finish

I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH. Now, once I

Listen to real-time change in Flutter from node.js api (mysql database)

I created my own api for (get/post/put/delete) methods using node js.....and implemented in flutter....how can i get real time change (change state without ref

Remove debug banner from this specific main.dart

Not sure where to add the: debugShowCheckedModeBanner: false, I'm trying to build for ios with xcode. Here is the current main.dart: Not sure what I need to cha

Flutter Emulator Error Connecting to Service Protocol

I am having an Issue with Flutter in Android studio, where whenever I run my flutter app, it will print this error; "Error connecting to the service protocol: H