Category "flutter"

Execution failed for task ':google_api_headers:compileDebugKotlin'

After updating to Dart 3.0 I have this error when I launch the app on Android simulator. For iOS physical device its building ok. Unfortunately can't try with A

How to enable autoformating Flutter project in Android Studio?

For example, there is a sample flutter code. This code is not properly formatted. import 'package:flutter/material.dart'; void main() => runApp(SampleApp())

In Flutter is it possible to increase the transparency of a Dismissible widget the further it is dismissed?

I have a Dismissible widget in my application that I drag down to dismiss. There is a requirement that the transparency of the Dismissible should increase the f

Flutter: Illustrate List of Strings with a for-Loop doesn't work

I am really confused why does this only work without the braces around the for-Loop. child: SingleChildScrollView( child: Column(

ListView and Expanded not work in flutter

I need help to solve this problem. The expanded renders the child but does not expand. return Scaffold( body: ListView( children: [ _HomeBody(chil

Style BottomNavigationBar in Flutter

I am trying out Flutter and I am trying to change the colour of the BottomNavigationBar on the app but all I could achieve was change the colour of the BottomNa

Connect to Wifi using Flutter

I'm working on a Flutter project that needs to connect to a certain wifi by entering username and password. I'm using wifi_configuration package which I can con

Flutter: Update specific index in list (Firestore)

How exactly do you update a specific value in a list based on it's index? For example, in the following list: 0 [ { first_name: name0, last_nam

How to Initialize the List with the same element in flutter dart?

I have a list in dart I want to initialize the list with n number of the same element. example:- initialize the integer list with element 5 4 times. L

(Flutter) How to retrieve Firebase Storage images in a Streambuilder with the paths stored in Firestore

In my code, I have a streambuilder that returns items from Firestore using the geoflutterfire package to load items that are within a radius of the user. These

When I Navigate through Nav Bar sometimes the page is all White

When I Navigate through Nav Bar sometimes the page is Blank, i'm using Persistent bottom nav bar v2 as plugin, i don't know if it's a bug of the plugin but basi

Flutter - use WillPopScope with custom dialog to confirm app exit

I've implemented app exit confirmation this way: return WillPopScope( onWillPop: _promptExit, child: Container() /*Remaining window layout*/ _prom

Is it possible "extend" ThemeData in Flutter

I might very well be missing something as I'm so new to flutter, but I'm finding ThemeData's options very limited (at least with my understanding of how to impl

How to Force Delete App from Emulator for every Flutter build

I want to force Android Studio to delete the previous build every time I rebuild. Currently for whatever reason it does not delete the previous build and simpl

Flutter - Unable to detect/identify Android Studio

Just a day ago, Flutter, a new hybrid (mobile apps) development framework released by Google Inc. I installed Flutter SDK, following steps, provided from this

flutter_markdown multiple line breaks not working

I am trying flutter_markdown package to markdown some content. But it is not working properly for multiple line breaks. String exampleData="\n\nLine 1. \n\nLin

How to detect phone shakes in Flutter

Just started with Flutter this weekend and am making great progress. I have an app that simply changes the image on screen when the image is tapped, or, if the

How to reduce the size of Flutter .aab file?

I made a calculator app using flutter and when I generated the .aab file, it came out to be 16 MB! How do I reduce the size of my .aab file?

Switch case with multiple values for the same case

I would like to know the syntax to set a multiple case statement in a switch / case. For example : String commentMark(int mark) { switch (mark) {

How to create a variable <username> and insert it in website url like noob.com/<username> hosted on firebase?

I am developing a website using flutter and want to create a link for the website something like noob.com/username for a social profile of the user where userna