Category "flutter"

I cant run Geolocator.getCurrentPosition() in background (Flutter)

when I try to getCurrentPosition while the application in the background or terminated, it returns ' MissingPluginException(No implementation found for method g

Firebase data is not fetching in flutter app

I'm developing a simple app to learn firebase, the creation of data is working fine, but they can't fetch the created data. and there is no error showing. just

Flutter Speech to text listening continuously

Please how i can implement Flutter Speech to text listening continuously without typing in a button to start Please give some suggestion about this. Thanks in a

Send Keyboard Event Flutter

I am trying to find a way to send keyboard events from my flutter app to a WebView that I have open in app. For example, the WebView has some JS code with an Ob

Flutter WidgetsBinding.instance.addPostFrameCallback((_) error

Hello friends first off all sorry for my bad English. I'm getting an error when I start debug my code in flutter-Dart. import 'package:flutter/foundat

How to load and download the data from a remote directory in flutter?

I have a directory full of pdf's with name as A00-2020-01.pdf The A00 is the user ID, 2020 is year, 01 is month And the directory is full of 1800 members with

Flutter: Clicking on TextFormField redirects me back to Home:

I only have TextFormFields in 2 places in my app. Once in my Login Widget and second in my PinWidget, which is meant to set a personal pin. Home: is always the

how to give permission write only to sqlite db in flutter

Here's my code: Future<void> updatevalue(int b, int value) async { await initDatabase(); await _db.rawQuery('UPDATE chines_recipe SET favor

Android & iOS notification icons (grey) while using flutter_launcher_icons 0.9.2

I believe the question has been asked in various places like GitHub, Stackoverflow, Reddit & other forums. Using flutter and firebase notifications some dev

A value of type 'Null' can't be assigned to a parameter of type 'Widget Function(BuildContext, CounterState)' in a const constructor

This is an project where I'm trying to implement (and understand) Bloc methodology. I got the error: A value of type 'Null' can't be assigned to a parameter of

flutter build ios --release fatal error: module 'add_2_calendar' not found

I want to make a release for my project who work perefctly in dev mode. When I make only flutter ios build it works fine but flutter build ios --release doesn'

'flutter_ijkplayer' setFileDataSource Showing a Black screen before video loading.How can i fix it?

I was making a video player in Android with flutter. I am using 'flutter_ijkplayer' for video playback. https://github.com/CaiJingLong/flutter_ijkplayer My prob

Flutter ffi failed to open dynamic library

I'm trying to use the flutter ffi to port over my c/c++ code but it's unable to open the dynamic library it needs to be able to work(I'm on windows) import 'dar

How can I add customised header on http request for authentication when using flutter graphql library?

I am using this library https://pub.dev/packages/graphql_flutter for graphql in a flutter web application. Below code can be used to get authentication token:

Flutter overlapping issue in Pageview?

when I swipe from one Page to another in my Pageview the the Background is overlapping. On Page 2 is the Background the Front of Page 1. What to do?

Flutter app orientation changes from portrait to landscape

When I load my flutter app which uses " scan: ^1.6.0 " package once the scanner gets mounted my app shifts orientation from portrait to landscape this only happ

Control the Google maps flutter plugin cycling stack

We have a problem with the markers on the google maps flutter plugin. When we have multiple markers overlayed the click actions are, as Google Maps SDK explains

Getting null value outside the function in flutter

I am getting a null value for the 'count' when I am accessing it through the Text widget. But when I print the value of count in the function, it shows the corr

Flutter just_audio package how play audio from bytes

I'm using just_audio plugin and it has on description a feature: Read from byte stream. Basically when I put a file (from url) to play, I'm saving the bytes fro

Undefined class 'CurrentUser'

CurrentUser is undefine I am trying to figure out what has it changed to.If you know plz help It's says Could not find the correct Provider above this Screen Wi