Category "flutter"

Can't use email with a password to create a user in the Firebase console

My program runs successfully without bug. After the virtual machine enters the email and password first: click the Register button without jumping to the next p

Detect a tap outside of a TextField to unfocus

I want to hide the keyboard when the user taps outside of a TextField. My current solution is to listen to taps in a GestureDetector that wraps the screen and c

The argument type 'Function?' can't be assigned to the parameter type 'void Function()?'

I have a refactored widget which has an onPressed. But whenever I try to access that function, I get this error : The argument type Function? can't be assigned

Is there any way to detect microphone is internal or external in flutter?

Is there any way to detect microphone is internal or external in flutter? I tried different packages and plugin but none of works! external microphone is when u

The argument type 'Object?' can't be assigned to the parameter type 'String' latest version

Hers is the part from code.dart: final List<Map< String,Object>> question = [ { 'questionText': 'what\'s your favorite\'s color?',

How to call Future Function to another class in flutter?

I am new in flutter. I created Drawer and loaded its header data from server by creating a future function. I want to recall this future function again from ano

Flutter failed to create parent directory

I formatted my PC and kept flutter sdk location in the same spot. The only difference was the name of the user folder. Before it was called "thesl", but now it'

How do you add a label (title text) to a Checkbox in Flutter?

I am playing with Checkbox to see how it works, but I don't see a title option with it. Checkbox( title: Text("Checkbox label"), // The named parameter 'ti

Truecaller like alert dialog in dart

I am trying to implement a true caller like alert dialog in flutter. Since I am very new to flutter+dart, I was looking for any out of the box implementation. S

How to change uploader of flutter package

I have uploaded a package with an email and then I changed to another email. So in order to replace email I've added by using pub uploader add [email protected]. a

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that lin

How to create a bounded scrollable TabBarView

I need to implement the following layout in Flutter. When the user scrolls, I want the entire layout to scroll (hiding the header and tab bar). However, I ca

flutter scrollIntoView

This method appears to be for testing, but I actually need to scroll a widget onto the screen after rebuilding the UI with more widgets. This exists in the GWT

I am new to flutter and dart so i have being trying to use my phone to test the demo flutter file in android studio but i keep getting this error

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:compileDebugKotlin'. Could not resolve all files for configuration ':

How to read files outside the project's directory

I'm new to flutter,I want to read some files outide the directory of my flutter project,let's say a file located in Desktop folder here's how I tried Future&l

Fix google map marker in center

In my flutter app. I am using google_maps_plugin . The link is https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter . I want to fix the m

initState() not show in Autosuggetion

I try to override initState() inside _SplashScreenState, but it not show in suggestions list, i try invalid catches/Restart too. import 'package:coupfferapp/

flutter how to give height to the childrens of GridView.Builder

I am tring to give height to the childrens of gridview.builder but it's not accepting. I tried by using container but its not working... please help GridView.b

LateInitializationError: Field '_timer@137128430' has not been initialized in flutter Null safe version

I'm beginner for the flutter , I have added flowing code and flutter suggested to add late, I added late Timer _timer; after it showed me the following error

StatefulWidgets in ReorderableListView don't keep their state when reordering the list

Here I have a trimmed down page which creates a ReorderableListView, which has its body set to two RecipeStepWidgets with UniqueKeys set (I've also tried this w