Category "dart"

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

TensorFlowLite tensor with type UINT8 and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32)

I was creating a mobile app that can recognize images using flutter and I got this runtime error when testing the app. Caused by: java.lang.IllegalArgumentExcep

How can I add whole object as parameter in flutter post request?

"UserDtls":{ "DisplayName": "Picker", "UserName": "Picker", "Password": "", "EncryptPassword": "", "UserId": 5, "Rol

Flutter 3.0.0 bugs

after upgrading to the latest version 3.0.0 then some various bugs appear in some of my projects that run well before qr_code_scanner:compileRelaseKotlin Dupl

Flutter: Shared Storage (Storage Access Framework API) Permission for files inside hidden sub-directory not working

How to achieve to listing all files (e.g. Media) inside hidden subdirectory i.e. folder name start with '.' e.g. "(.media)" after using SAF in Flutter/Dart? I h

Vertical and Horizontal scrolling at the same time in Flutter

I'm building a flutter app, it requires data to be displayed in a table format, I've done it with the help of DataTable widget, but when it was rendered, the co