Category "flutter"

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

Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

While debugging the application in android 12, the app is getting crashed.

How And Where Do Meditation Apps Store Their Audio Files?

I'm building a Flutter app that plays audio files. I have hundreds of audio files that are too large to store in the app. So, I want to host the files, then str

Android camera permissions reduce availability on Playstore

I have an flutter app in playstore but rigth now i'm trying to update with new features, but some camera permissions/features are reducing the app availability

Range Error(index): invalid value: valid value range is empty

im trying to set initial value for 'title' but it keeps showing me the error: range error (index): invalid value: valid value range is empty class _ProductCreat