Category "flutter"

Error message when press packages get in flutter

Because rabit depends on dev_dependencies any which doesn't exist (could not find package dev_dependencies at https://pub.dartlang.org), version solving failed.

flutter: on background message handler is not being called

I have implemented firebase cloud messaging and firebase functions to my app and used flutter local notifications and added a showNotifications function to make

Remove Header indicatore in flutter web

check this image, how to remove a blue indicator from a header from flutter web

error when trying to get data from "data"

I'm getting this error when trying to get data from my "data". child: StreamBuilder<QuerySnapshot>( stream: FirebaseFirest

Displaying notification badge on BottomNavigationBar's Icon

I'd like to display notification badge (a colored marble) on the top right corner of BottomNavigationBar's Icon widget when a new message has arrived in the inb

How to add a new option in text selections toolbar

I want to add a new option in the text selection toolbar, an extra option apart of the classics cut, copy, paste, selectAll. enter image description here I use

How to enable Custom Icons on Flutter Web CanvasKit?

I have custom icons that work fine on IOS and Android. When I deploy on the Web, a crossed out box appears in each place in the App where my icon should appear.

Flutter future json list define as a final and stop updating it

I could fetch the JSON response from the server and make a list. Now I wanted to add a filter to that list. To do so, I followed an online tutorial. in that tu

Flutter - How to decrypt a RSA private key encrypted string if we have RSA public key with us?

Flutter app receives public key in the form of contents of public.pem file which would be a string like "-----BEGIN PUBLIC KEY----- MIICqq7DBi9sBXZfDYJC+G57JYUC

Why is FutureBuilder called multiple times?

Excuse the ignorance i am new to Flutter. I am practicing on a course I did and I have the following scenario: I have a view where I consume a web service in

FirebaseMessaging.onBackgroundMessage in iOS when app is terminated/in-background never called

I have this issue, that I have a handler passed to FirebaseMessaging.onBackgroundMessage(firebaseMessagingBackgroundHandler) that's responsible to save the inco

Flutter - getApplicationDocumentsDirectory() : How to get the path in android and iOS

Directory tempDir = await getTemporaryDirectory(); String tempPath = tempDir.path; In android native code, I use getCacheDir() How do i get the getApplicatio

How to use BlocProvider in flutter

I had Bloc class before using BlocProvider as below. And I want to use blockProvider using 'flutter_bloc 4.0.0'. class SelfRentalBloc { final _srsController

Why does my Flutter app crash at startup on iOS?

I'm trying to build a simple app using Flutter for iOS and Android, but the app crashes on startup when I try to run it on an iPhone (Android runs fine). I don

Equivalent of RelativeLayout in Flutter

Is there a way to implement something similar to what RelativeLayout does on Android? In particular I'm looking for something similar to centerInParent, layout

How to observe ObservableList item properties changes

I'm building a shopping app in Flutter using MVC pattern and mobx for app state management. At the moment, I have a mobx store for cart items and one store for

Cannot find type 'PiPViewCoordinator' in scope

I am getting following error when i install JitsiMeetSDK in flutter but i am unable to run app. Can somebody suggest me how can i resolve this issue? I am usin

Flutter build iOS got error: Requested but did not find extension point with identifier

I just upgraded to Xcode 13.3-beta, running a flutter project got this error: Error output from Xcode build: ↳ 2022-03-02 17:45:38.148 xcodebuild[6284

How to dismiss an AlertDialog on a FlatButton click?

I have the following AlertDialog. showDialog( context: context, child: new AlertDialog( title: const Text("Location disab

Send notification to specific user firebase in flutter

How do I send a notification to another user when one user presses a button? Can someone show me a code snippet? I realize that this question was asked before,