Category "flutter"

Set default transition for go_router in Flutter

as the docs from go_router describe, it is easy to set pageBuilder-Transitions for single pages. However, I want to set the default PageTransition for all pages

Flutter Override PopupMenuButton Widget to prevent soft keyboard to close

In my flutter mobile application, I use a PopupMenuButton placed at the bottom of the view. If I click on it, the soft keyboard is dismissed because the text in

How to implement null-safety in simple flutter-dart code with object snapshot.data?

I am new to flutter/dart coding, please help me solve the following: Here is my code trying to fetch data from the FireStore collection "DinnerNames" but I get

Flutter Mailer isn't working due to these errors

I am trying to send a form from flutter app to my email automatically when the user submit the form. here's the code : import 'package:flutter/material.dart';

How to extract Left or Right easily from Either type in Dart (Dartz)

I am looking to extract a value easily from a method that return a type Either<Exception, Object>. I am doing some tests but unable to test easily the r

mailto: link for Flutter for Web

The url_launcher package (https://pub.dev/packages/url_launcher) doesn't seem to work for Flutter for Web. The following code prints "test url1" but nothing hap

Flutter Converting network image into byteData

Is there any better way to convert network image to byteData? I am trying to convert network image from firebase url to byteData and here is my code: Future<

Flutter run error : You have not accepted the license agreements

I'm developing android and ios app with Google flutter. when I add a new dependency like shared_preferences to pubspec.yaml and then execute flutter run in term

The argument type 'dynamic Function(AppLovinAdListener)' can't be assigned to the parameter type 'dynamic Function(AppLovinAdListener?)'

I'm trying to add Applovin Interstitial ads to flutter app. But it keep showing errors. my sdk is sdk:'>=2.12.0 <3.0.0'. This are the errors displayed A

Flutter: database is locked Possibly there are two concurrent builds running in the same filesystem location

Trying to run the app on my two iOS devices by doing flutter run -d all. However, I am getting database is locked Possibly there are two concurrent builds runni

Why AutoCompleteTextField is not showing any suggestion in Flutter?

I am new to Flutter and currently working on a project where I need to show user a list of matched members so that a user can easily select one of them. For tha

package facebook_app_events version 0.16.0 E/MethodChannel#flutter.oddbit.id/facebook_app_events(16052)

I install the package facebook_app_events version 0.16.0 that includes the latest facebook sdk. The problem is that when I try to log an event or get an anonymo

Segmentation fault: 11 (in target 'DKImagePickerController' from project 'Pods')

I'm developing IOS app from flutter. Everything working fine, suddenly I have received error SwiftCodeGeneration normal arm64 (in target 'DKImagePickerControlle

Flutter same provider login is working fine but create account not redirecting to home page

After create account and after login in both time I'm trying to redirect user to homePage. Here, I have a Auth provider. Where I have written a function called

Can't convert Map to List in Dart, facing "Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>" error

I know this question has been asked, but I'll explain my problem and show you what I've tried. So, I receive a response from an API, that looks exactly like thi

Method not found: 'guard'. return internals.guard(

i am new to flutter.when i run this code on flutter web this error occurs. .pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-1.0.7/lib/src/internals.dart:1

CocoaPods could not find compatible versions for pod "FBSDKLoginKit" inside ios directory

I have flutter app and I am getting the following error when I run the command: pod install --repo-update Here are is the error I am getting: [!] CocoaPods coul

How to load events from firebase for a specific user for tablecalendar

I am currently building a project where a list of trainers is displayed for a user. When tapped on a listtile showing the trainer a modalBottomSheet opens up sh

How to create styled switch on Flutter?

I am making a VPN app. I stuck on start button. I want to create switch button loke that. How can I create animated switch like that on Flutter? Please help.

how to solve "Target of URI doesn't exist package:flutter_facebook_login/flutter_facebook_login.dart" in flutter?

i am a noob and trying to run an app that i cloned from github but i am getting this error i tried everything i could find on various sites but couldn't get rid