Category "flutter"

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

ListView doesn't separate objects from doc

I'm trying to create scrollable list of posts, but instead i got static non-scrollable bloc of strings, which is overflowing. Example: Oveflowing: @override

Check if item is not in a Firebase document

I have a field in my Firestore documents that happens to be an array of user IDs, this field is called "tempID", I want to run a query that return all documents

Is it possible to iterate a list with index values in the Widget tree?

I have a List which is a list of image URLs, which I will then use to construct a series of Image widgets as part of a gallery. The images will be aligned next

list_remove_unrelated_type - dart

I have a function like this: void function(List<int> listToRemove) { final List<int> list = [1, 2, 3, 4, 5]; list.remove(listToRemove); } and i

How to handle data for integration tests in Flutter with Firebase Realtime Database?

I am in the process of adding integration tests for my flutter app (Android & iOS). I am planning on having a sort of BDD test structure, with the Given par