Category "flutter"

Module was compiled with an incom patible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0

My app compiles, but after looking into a few related questions like (Module Error "Module was compiled with an incompatible version of Kotlin. The binary versi

How To Display JSON Data in flutter Chart

I have tried to put JSON data in flutter chart, I used syncfusion_flutter_charts library but its not working and its only showing y axis point but not x axis po

How do you center two texts in containers inside a row widget?

How do you center two texts in containers inside a row widget?

Casting DatabaseEvent snapshot.value to a specific type in Flutter

I'm trying to retrieve data from a DatabaseEvent event type. The data I have on the database is this in this layout Basically some users id and each user has a

My flutter project broke and I get this gradle error

FAILURE: Build failed with an exception. * What went wrong: Could not create an instance of type org.gradle.invocation.DefaultGradle. > Could not configure

Flutter and Android Release Mode

How I can find out crash logs in release mode in a flutter. In the android studio, I am not able to get crash logs where the app is going to crash.

Flutter-What is the point of using bearer-token or something

I read something like this: 1-Once a user logs in, you can generate a token and store it in MySQL database and share the same token with the response of login A

Flutter and Aws RDS

I am new to flutter I want to work with AWS Rds as a backend with my flutter I searched in google but I only found is Aws Amplify Concept, So can I do with Aws

When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."

In my project, When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."

Streambuilder from firebase firestore with advanced filtering

Based on new version of firebase dependencies in flutter, there is new filters such like isNotEqualTo, arrayContains, arrayContainsAny, whereIn and so on. I try

Flutter: SyntaxError: Unexpected token < in JSON at position 0

I need to fetch data from API but my try-catch fails with SyntaxError: Unexpected token < in JSON at position 0. Code: String problems; try {

How to hide actions from SliverAppBar when it's expanded?

I have a SliverAppBar with a background image and a list of actions, but I would like the actions to show only when the image disappears (when the SliverAppBar

Container margin not transparent

In my flutter project i have an AnimatedContainer which is my BottomAppBar. If i give it a margin to space it from the screen egdes the margin is not transparen

How to get Server Sent Events in my Flutter app?

I'm trying to receive SSE data as JSON in my Flutter app. But instead of getting the data I'm getting the following repeated arrays of numbers in my console.

Unable to run any flutter commands 'The flutter tool cannot access the file or directory'

Whenever I run a flutter command including: flutter doctor flutter clean flutter channel [any channel] etc I get the following error: Gregorys-MacBook-Pro:~ gre

Flutter unable to load image assets (Loading images through ListView.builder)

I tried to load from the assets/images folder using Listview.builder() but it keeps throwing this error: EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE The followi

How to allow landscape for tablets, but prevent it on mobile phones?

I'm forcing portrait mode on mobile phones, class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(Build

How to handle click on push-notification when application is in foreground?

I use the Firebase Cloud Messaging (FCM) in my Flutter project. The following packages: firebase_messaging: ^8.0.0-dev.15 flutter_local_notifications: ^4.0.1+2

Flutter web ignore resize

I would like to make my web app does not resize/responsive when the screen become smaller. For example when i decrease my browser size, instead of its adapting

How to set vertical and horizontal border in flutter datatable?

As I am new to flutter, I could not set the border in DataTable. Can anybody tell me how can I do that by using DataTable Widget? As per my requirement, I have