Category "dart"

The argument type 'Object?' can't be assigned to the parameter type 'List<Siswa>'

I have a two error for this Flutter apps. The argument type 'Object?' can't be assigned to the parameter type 'List'. The property 'length' can't be uncondit

Getting this flutter error when calling the nested list of data from firestore database. Getting null method call []("orientation")

I'm getting this null error when calling the firebase firestore database. It's working fine with my other data. Only getting error with this nested List of 'ori

How to retrieve large datasets from Firestore in chunks?

My app has around 50K objects. And I need to retrieve atleast 10000 objects to build charts for stats; I am not able to get more than 600 objects in a single ca

How to get the string content of text() widgets and give the styling below image shown in flutter

I want this type of output using single Text() widget I am getting data from Api and i get gender from it so i just want to highlight that value by bold it on w

Dart: Incorrect interpretation of JSON String

I'm trying to decode a zipped json file that is dropped (drag and drop file) into my Flutter web-app, however am having some challenges getting the correct text

3D wheel effect with list or scroll view

I need to create a list view that has a few key requirements Infinite scroll of a fixed number of items (ie looping) Multiple child item types (images, text, in

Update local packages and hot reload to project

Hi I have a local package that I import in a project Project pubspec.yaml: dependencies: my_local_package: path: ../my_local_package I have both the my_l

How to use flutter_inappwebview in Scaffold body

I want to use flutter_inappwebview plugin top show the web page in the body of a Scaffold page. I do know how to do it with webview_flutter, but with flutter_in

Bottom overflowed by xxx pixel using TabBarView() in flutter

I have 2 columns on the top is simple container and the the bottom is TabBarView() what I want to achieve is the tabbarview() result is scrollable using singlec

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

Error: The parameter 'scaffoldKey' can't have a value of 'null' [...] 'GlobalKey<ScaffoldState>'

When trying to run the function below, you get this error: home page import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '..

Flutter Visual Studio - develop for Windows

There is a warning when I use flutter doctor : Visual Studio - develop for Windows X Visual Studio not installed; this is necessary for Windows development. Dow

I'm not receiving response from API when making a post requisition in FLUTTER

I'm facing a strange error when I'm sending data to an API. I have some endpoints that work pretty fine when I send and receive data. But one of those is giving

Flutter deep links not working from browser

I made changes in Android manifes as suggested here: https://docs.flutter.dev/development/ui/navigation/deep-linking So, new metadata and config has been added

Flutter Error: No named parameter with the name 'displayLarge'

I am working on an app, I posted last update on git 2 days ago and haven't touched the code since. Now, I opened android studio and it was giving me this error

Dart: Object is giving output only once even when called multiple times

Hi I am trying to print value of 'a' property of x object but I only get output once. void main() { var x = Test("Boy"); x; x; x; x; x; x; } clas

Stop flutter build runner from rebuilding my plugin

I have the following file structure in my flutter project lib - router -- router.gr plugins - myplugin //is a dart package -- input_folder --- swagger.json -- l

Is it bad practice to store/translate static error strings in a form field model?

I'm building a Flutter app where I have a sign-up form that will throw an error if the user inputs an invalid email. I have the following model for the email fo

Send a jwt token in my SSE event source (subscribe request)

How can I send a jwt token (or a header (Authorization to be specific)) in my SSE subscription request (the event source)? void subscribe (String jwtToken) asyn

how to disable user to go back after successful login in flutter

I have this login function and it's working like charm , but the problem that the user can press the back button and return to the login screen and I want to di