Category "flutter"

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 _$

How to create Update method inside the same page as the user profile?

So as you can see here's my profile page i just want to create an update method here. Is it possible to do inside this page for the update method? I'm still new

FlutterJNI.loadLibrary called more than once (FlutterJNI.prefetchDefaultFontManager, FlutterJNI.init)

after updating Android Studio and flutter (and kotlin) i get this warnings/errors how to solve or can i ignore without consequential error? Thank you in anvance

Code being marked as dead in if/else statement

I am building a WiFi app for an IoT device, I am generating a list of WiFi networks, and what I would like to accomplish is when the SSID is pressed it changes

Uri Concatenate and Future

import 'package:http/http.dart' as http; import 'package:teste3/Post.dart'; import 'dart:convert'; import 'dart:async'; class Consumo extends StatefulWidget {

How to deserialize generic JSON with List type in Dart

I want to deserialize some JSON data that contains a list of article information { "data": [ { "id": 1, "title": "First arti

Flutter: issue when building the app for iOS on my Mac

It's kind of weird the building process —while copying the flutter blue lib— makes reference to an inexistant folder: error: open /development/flutt