Category "flutter"

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

How can we integrated ads in video player like YouTube in flutter?

I working with Flutter on my video streaming application. I want to implement ads in a video player. How can I implement it?

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

Flutter When i fetch data from api showing SocketException: Failed host lookup: (OS Error: No address associated with hostname, errno = 7)

eg: details about the questions ......................................................................................... When i fetch data from api showing Soc

Flutter: Unable to get Firebase social login email after successful login

I am using social login for my Flutter app for both iOS and Android platforms. After successful login I need to access the user's email from Firebase. I tried i

socketio.send() does not send data to client

I am trying to send data from server to flutter app using socketIO. Although I am able to connect and emit, the server is not able to send data to client side.

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

How to animate an app bar between screens in Flutter?

I'd like to create the appbar effect shown in the Gif below, where the leading icon persists between screens and the title does similar. Solely using Navigator.

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

Transparent status and navigation bar in Flutter for both Android and IOS

I am making my first Flutter app and I have a question. I want to make the status bar and navigation bar transparent on both Android and IOS. This is what I hav

How can I navigate to next list item on a new page?

I have a list that I fetch from a provider file and display using ListView builder. The LIST page displays only the title of the item on the list and clicking o

Tried command 'pod install', this happened

I tried running pod install and this is what I received. [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are

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

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