Category "flutter"

How to Update a flutter app on already published native android using java app in play console

I have published a native app with package name e.g (com.hamzamuazzam.foo) in Google Playstore and I want to update my app that is now made in flutter , also ha

Flutter: how to make a TextField with HintText but no Underline?

This is what I'm trying to make: In the Flutter docs for Text Fields (https://flutter.io/text-input/) it says you can remove the underline by passing null to

Flutter iOS - How to hide the DONE button at the top of the ios keyboard?

The DONE button doesn't work on Flutter Web (Safari, Chrome). I just added a Textformfield Widget to 'Counter Example Project' and built it on Chrome. And I acc

dart - How to listen for Text-Change in Quill text Editor (Flutter)

I am only familiar with HTML/CSS/JS, and basics of dart/flutter Developer Level: Beginner Project type & language: I am developing a notes app for myself, u

How to change height of DropdownButton in flutter

How can I change the height of a DropdownButton in flutter. I have tried to use Padding and SizedBox but none is realy working. SizedBox just increases the cont

How to have single instance of a bloc across other blocs

How can I avoid creating another instance of some bloc class? I have two blocs: LoginBloc and AuthBloc . and LoginBloc accepts an instance of AuthBLoc and here

Error database_closed when using flutter's sqflite

I try to use sqflite to save some data like my class Movie but when i try to insert or query on the database, see this message: [ERROR:flutter/lib/ui/ui_dart_st

pub get failed (65 ' ) exit code 65

While trying to download packages to the flutter project im getting like:- [project] flutter pub get Running "flutter pub get" in project... Error on line 25,

Firebase phone auth not initiating OTP only in release mode but works on Debug mode even after added sha1 for release mode

Steps how I implemented. As advised, I implemented all the way. It was quite good in debug mode. Unfortunately its not working in release mode even I added my d

Is there a way to query if a WebView is scrollable?

I am using a PreloadPageView to display WebViews whose content vary in length. I would like to be able to inform the user when there is more content below on We

Widget test fails with No MediaQuery widget found

My question is about flutter widget test, what is proper way to test existing widgets wrapped new Scaffold(...)? I have found MediaQuery.of but it accepts Build

Flutter: Execution failed for task ':location:compileDebugKotlin'

Execution failed for task ':location:compileDebugKotlin'. build:gradle(Module:app) ext.kotlin_version = '1.6.10' repositories { maven {

Why does Flutter Doctor not find an option named "android --licences"

I am trying to complete the install of Flutter. Within the Flutter help, it has an option called "Flutter doctors android --licences" However, when you run it,

flutter_tags giving error when clicking Enter

I am using flutter_tags package in my project. when i add text in the TagsTextField and press Enter I get below error and that part becomes red. Expected a val

Widgets not rendered when building Flutter apk

So I've been working on flutter for quite some time but recently, after i changed my laptop, I encountered a strange problem. When i run the app in debug mode o

Flutter iOS distribution fails with No architectures in the binary

I've been building a flutter application and its come time to release to internal testers and I've been running into issues. The error I get is this ERROR ITMS-

Error: Because project requires SDK version >=2.16.2 <3.0.0, version solving failed

I just tried to reactivate an old project, but it doesn't work. I get this massage in my "output": Because random_number requires SDK version >=2.16.2 <3.

TabBarView within Scrollable Page

I am having real trouble getting a layout to work within Flutter. The layout I am trying to create: A ListView that contains a: A Container. A TabBar. A TabBarV

How can i upload multiple images to firebase in flutter and get all their download urls

Here is my upload function. My desired output is a list of all urls, but it returns an empty list. I have tried different suggested solutions, but all of them h

flutter stuck on running xcode build

Flutter stuck on running xcode build; the verbose shows that it get stuck at here, [ +14 ms] Running Xcode build... [ +20 ms] executing: [/Users/navodsant