Update forms in FutureBuilder

I want to be able to update my forms in a futureBuilder. I need the futureBuilder to retrieve all the datas from the player in my DataBase. I am setting my initial val...

I flutter I wants to add several fields from form in which 3 fields can be null how to do this?

The Payment mode,fees collected and comments fields are not mandatory to filled by user so these fields can be null.All other fields are mandatory for user except thes...

How to change dynamically a initialValue in Flutter

I have a Form that contains some fields, one of them is a date field: <pre><code>GestureDetector( onTap: () { selectDate(context); }, child: AbsorbPoin...

Validation using GlobalKey&lt;FormState&gt; in individual steps of Flutter Stepper widget returns false even for correct input

I am using stepper widget, and using a Form widget in each step of stepper with different form keys in order to validate each step ... the problem is that <code>this._...

The body might complete normally, causing null to be returned, but the return type, Future&lt;DateTime*&gt;*, is a potentially non-nullable type

I made a bloc builder that implemented <code>form_bloc</code> and i change the date-picker widget to ios style by using <code>cupertino</code> this code/body is showin...

LateInitializationError: Field email has not been initialized

i am trying to get the text kept in the validator property in the TextFormField to show in the app but for some reason, it keeps keeps giving me the LateInitialization...

Flutter Formbuilderdropdown - When deleting item, the item below gets the value 0

I get this really weird error. I have a cart with items in it. Foreach item in the cart, I build a formbuilder. With this tool the user can select the quantity of the...

How to get form variables in flutter

I have a form in flutter and when you press the button it will call a post function that register a user but i can't acces to the variables in the form. I want...

Flutter : extract gif url from text

I'm using a <code>TextFormField</code> to add text to my screen. <pre><code>TextFormField( validator: (value) { if (value == null || value.isEmpty) {...

What is the equivalent of Xamarin MessagingCenter in Flutter?

With <code>Xamarin</code>, We usually use <a href="https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/messaging-center" rel="nofollow noreferrer"...

How do I submit images I have picked from gallery as part of a form I have already made

<pre><code>final idDocument = await ImagePicker().pickImage(source: ImageSource.gallery); final avatar = await ImagePicker().pickImage(source: ImageSource.gallery); f...

How to attach an Image and send it to email using file_picker in Flutter

I need to email a form from the flutter application with the attached image. I got all the other text and dropdown fields. But, I didn't get the image in the email.</p...

Flutter &amp; Dart, How to Pass Barcode Scan value into TextFormField on Scan and Update Text

How can I pass the barcode value into the TextForField after it scans? The Barcode function passes the barcode value to the String barcode. It's the ListTile Object wi...

Flutter how to use form with tabview

I am trying to create a form with multiple tabs but for some reason if i call validate or save on form i can get only values from tab that is active and same is true f...

How to validate a text field on value changed?

How to autovalidate a text form field when its value changes? i tried <pre class="lang-dart prettyprint-override"><code>bool _autoValidate = false; </code><...