Category "dart"

Flutter Ambient UI - What should be the optimised approach for production level responsive app in web, android and ios platform using single codebase?

I was trying out flutter platform to create a multipage website with android and ios responsiveness using single codebase for my flutter app. I've already tried

How to use tokenColorCustomizations VS Code text color changer in dart?

tokenColorCustomizations does not stick with dart, I can change JSON file but the color does not stick to it.

How to set container in stack in Flutter

I have created a simple app, and facing an issue. I just want the content a little bit over the bottom of the image. but can't set position to container. gets e

type 'bool' is not a subtype of type 'List<String>' in type cast - flutter/dart

I'm trying to set a list of string in the shared preferences but for unknown reason, it is throwing up the following error type 'bool' is not a subtype of type

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