Category "flutter"

Flutter align items adjacent to center aligned item in row

How is it possible to align a widget center of the row and align other items adjacent to centered widget without breaking centered item position? Example; in th

flutter streambuilder in real time

flutter application streambuilder in real time this is group chat app I need to get bool chat vale from firebase firestore if true or false in real time without

Is it possible to develop flutter windows desktop with fcm push notification?

I was thinking to developing a windows desktop application with dart and flutter but i don't know how can i integrate Firebase cloud messaging with it. Any sugg

Flutter unable to connect API XMLHttpRequest error in flutter

Flutter unable to connect API when I try to run web app I'm using auth api it's working fine with android and iOS but I'm unable work on flutter-web. here are

i get "Error running 'main.dart': Entrypoint isn't within a Flutter pub root" every time i try to run my app

i'm working on app using flutter and android studio this is the error I get every time i try to run my app i tired running other projects and they ran completel

Youtube value doesn't effect to conditional branch, but only if I hot reload the page

I wanted to try change text color depends on youtubeController.value.position,but only if I hot reload the page. Why? Can you guide me please? Also, youtubeCont

Implement a way to slide between months in Flutter app

I'm developing a Flutter application in which i want to visualize healthy data. I'm trying to find a way to visualize data of each month separately, so I'm tryi

Put JSON Data in Flutter Stacked Chart

I have try to put my JSON data in flutter Stacked Chart. I already work on simple charts using JSON Data like bar, column, pie, Doughnut charts etc. I have refe

Future Call return API key invalid error UNAUTHORIZED

I'm trying to access an api endpoint using a Future and it constantly returns {"code":"UNAUTHORIZED","message":"Invalid API Key","timestamp":"2022-03-19T16:57:

Flutter Expanding List Optimisation, Performance and Best Practices

What is the best practice for displaying a list of Widgets in flutter, where the list can be extended or reduced in length via State. Let's say we have a Provid

Flutter and audioplayer: cannot stop playing audio between 2 classes

**Hello, I am new to Flutter, I hope you will be able to understand my problem. I am using “AudioPlayers” and would like to play audio from a define

LateInitializationError: Field 'ques' has not been initialized

It shows this error although I have added late and required in the Question class constructor. It's repeatedly shows Exception caught by widgets library The fo

Keep headphone jack powered on android device, even without music playing

I recently installed a tablet in my car (370z) I love the thing but the only problem I have is that when music isn't playing I get a static noise buzz. After do

Flutter: Add some widgets in between ListView.builder and ScrollView without using shrinkWrap

Is it possible to add some non constrained widgets in between ListView.builder and ScrollView without using shrinkWrap: true? I need something like this: Single

Does Flutter 3 support Webview on Desktop?

Flutter 3 was released recently with Desktop platform support for Windows, Linux and macOS. Can Flutter developers clarify if Flutter 3 also supports Webview on

Cloud functions are getting called two times, first time with body and second time without

My index.ts has: exports.foo = functions.https.onCall(async (data, context) => { console.log('Hello World'); return null; }); To deploy, I run: firebase

How can I create monthly repeating tasks in Flutter/Firebase?

I am currently working on a finance app, where the user can create many transactions. To make the user's job a little easier, I want to add transactions that re

Use Firebase Cloud Messaging in a Flutter Windows app

I have checked both firebase_dart and flutterfire packages but none of them provide a firebase FirebaseMessaging class to use. Is there any way I can use Cloud

Adding shadow text form field

I want to achieve this Here is my code so far, Padding( padding: EdgeInsets.fromLTRB(5, 10, 5, 10), child: Container( decoration: BoxDecoration(

json_serializable not generating code for final fields and getters

This is my class: @JsonSerializable() class Foo { final int a = 0; int get b => 42; } The generated code doesn't include any of the a or b field: Foo _$