Category "flutter"

Error: A value of type 'Widget' can't be assigned to a variable of type 'InheritedWidget'

I am having a problem with my project, there are no errors in my code but when I try to run main.dart it fails to build. The errors it throws are the following:

how to use single child scroll view properly

I used the Single child scroll view on my homepage which is I'm Implementing. but seems like it's not working. my page is not scrolling. Is there any other way

Flutter Amplify - Cannot run appsync code gen for existing api

I have an existing AppSync API that I need to use in a new flutter app. After initializing amplify in my project, i run the command "amplify add codegen --apiI

How to convert json array to model class in flutter dart/

{ "feed": { "entry": [ { "im:name": { "label": "The Rise" }, "im:ima

filter data using list flutter firestore

I am creating a bookstore where customers who have their favorite books have a favBook list and the website displays the name and images of the book of all thei

Flutter null safety plugin_platform_interface

I have this error, Error: Cannot run with sound null safety, because the following dependencies don't support null safety: - package:plugin_platform_interface

Allowing null and asserting it's not - flutter framework

I came across this file https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/widget_span.dart and on line 98, I find this strange tha

What happens to old app data written in another language when you release a new version of the App written in Flutter?

So I have my app released which was written in another older framework (non flutter). I've since rewritten the app from scratch in Flutter. The app, while func

returning null value when flutter http get request(Instances of _<Future> dynamic)

i am trying to get a data from a flask rest api but it keeps returning null value when it converted toString() it displays "Instances of _ dynamic" getPass() as

Android Manifest error after creating a Flutter Application

Everytime i create a flutter application using Android Studio, i always have errors/red lines in the Android Manifest file. Any ideas why this keeps happening?

Camera crashes when Flutter App opened on Chrome on Mac

I have implemented code which will allow me to access the camera in my flutter application and it is working perfectly when the app is opened on android, but th

Flutter screen size without AppBar and BottomNavigationBar

I am trying to get the exact size of the screen without taking into account the AppBar and BottomNavigationBar Here is the code: double screenSize = MediaQuery.

Automatically upgrade a dart package

I have a package on github and it is been used in two of my projects, but every time I make a change to the package I have to run flutter pub upgrade on both pr

Firebase Realtime database filter by child list content

I have the following Firebase Realtime database products data { "-N1OHKTcbZ1h1kJQYSW-": { "images": [ "image1", "image11" ], "name": "

I am trying to run my flutter app and I am getting these errors?

here is the error message The current Dart SDK version is 2.13.4. Because test >=1.16.0-nullsafety <1.16.0-nullsafety.8 requires SDK version >=2.10.0-0

How to navigate to new page using flutter?

I want to click each navigation item and direct it to another activity. I actually want to show the list view of 'now playing movie'. When I click that drawer i

Flutter: Missing google_app_id. Firebase Analytics disabled

I want to send a notification from a device to another but when I sent it I got in the receiver device : D/FLTFireMsgReceiver( 8876): broadcast received for mes

How to set a text from parsed json variable in Flutter

I have a problem with parsed JSON in Flutter-Dart. Actually, there is no problem, but there is a method which I don't know. I'm getting data from a PHP server a

FirebaseOptions cannot be null when creating the default app in Flutter Web

I ran into the following error: Launching lib/main.dart on Chrome in debug mode... This app is linked to the debug service: ws://127.0.0.1:45119/uWRkb_0RvDE%3D/

Empty Body HTTP Post request Flutter

I am trying to send a Post request but the body of the request is meant to be empty and I have tried the endpoint on postman with an empty body and it works. Bu