Category "flutter"

json_serializable enhanced enums not working. This requires the 'enhanced-enums' language feature to be enabled

I'm using the latest version of all these packages. dependencies json_annotation: ^4.5.0 dev_dependencies: json_serializable: ^6.2.0 build_runner: ^2.1.1

How to build a custom image provider in flutter?

I want to write an image provider for my own image class. Let's take the widget below as a sample for an image class. This widget can be used whenever a image i

App crashes on iOS simulator when forced to Sign In With Apple ID

I have been testing my app successfully for months now. Within the last week when I launch my app on the simulator I get a "Sign In With Apple ID" prompt. Wheth

firebase_messaging/unknown: An unknown error has occured on Flutter IOS

Everything was working fine before but now firebase can't seem to create a new token. I'm trying to call await FirebaseMessaging.instance.getToken(); but gettin

Flutter Firebase messaging - push notification is not showing when app is open

I'm new to flutter and I'm just trying to receive firebase push notifications to my flutter app. Push notifications are receiving when the app is closed and in

Flutter ElevatedButton Custom style

I want to make an elevated button like the one below in flutter. I have tried a few things like a border but did not succeed in it. Anybody help me to make it i

How to make flutter desktop app goes fullscreen when move to top of the screen

When I move my app to the top of the screen I want to make it look like this and then file explorer goes fullscreen

What went wrong: Execution failed for task ':flutter_facebook_auth:compileDebugJavaWithJavac'. flutter

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':flutter_facebook_auth:compileDebugJavaWithJavac'. Multiple build operatio

Parse additional data in push notification by OneSingal by flutter

Please help me for this case. I implement feature - push notification by OneSignal. My situation as belows: Android devices: Receive notification: App close: op

How to return list of post model in flutter

This is example of my json response [ { "userId": 1, "id": 1, "title": "sunt aut facere repellat provident occaecati excepturi optio

How to keep the state of each page when using PageTransitionSwitcher?

I am trying to add the animation library to my project, but I am having problems. The previous code is like this Widget _buildScaffold(BuildContext context)

Send Direct Email to Email Address Flutter

I want my app to send message to specific email address direct I used this function inside onPress sendEmail('[email protected]', 'example1password') void send

A problem was found with the configuration of task ':app:processDebugManifest' in first project

[I just Installed Everything for flutter...and run the first default app...but this problem is showing] Like picture below: FAILURE: Build failed with an except

Flutter : Access data from Map (key, value)

I need to access the data from key, value pair. CashfreePGSDK.doPayment(inputParams) .then((value) => value?.forEach((key, value) { pri

The plugin `flutter_webview_plugin` uses a deprecated version of the Android embedding

I have upgraded the flutter version to the latest (2.5.2). when I upgrade, some dependencies also upgraded. but some of them are not compatible with null-safe.

How to implement twitter login without firebase in flutter?

I want to implement twitter login in my app without firebase but I found most tutorials used firebase. I read docs of package twitter_login but could not implem

How to display cards on a board (for a card game)?

I'm implementing a phone app for playing UNO using flutter (and dart), and I'm stuck with how I should display the cards on the board. This is what I would like

SingleChildScrollView makes the UI white

I am trying to make my UI scrollable but when i add the SingleChildScrollView i get this white screen not showing anything at all.I should erase the Column from

Can't manage to fetch data from a second JSON file

I'm trying to use a fetched data from a JSON file to make another fetch on a second screen. Let's say I have a JSON file that was fetched via www.fruits.com/dat

Exception in thread "main" java.util.zip.ZipException: error in opening zip file When testing the application

In Android Studio the application was running on Real device, it was exported in ABK format .. But after a while, this error appears I read about gradle but did