Category "flutter"

Flutter Firebase offline issues with await

When I try to reorder things in my reorderable list view, I run into a problem. If the user is online, awaiting the document references (as seen in the code) ru

Flutter:MainActivity cannot be converted to FlutterEngine in Java Native code

I am trying to create a plugin for Flutter in Java. I am trying to pass the Android activity parameter in my main Java class. This is my native code: package

Is a Firestore Query Snaphot in flutter ever null?

In my flutter app I am checking if a document exists based on certain parameters and based on snapshot.hasData build the widget. However I remember reading som

Dart / Flutter - Validating a string for URL

I'm trying to create a system in which I can validate a string to check if it's a url or not. (https://www.google.com/) I found the flutter package validator b

It seems that pthread_join() is not invoked or PTHREAD_ATTR_FLAG_DETACHED is not set Flutter Firebase

I've followed a tutorial regarding 'Flutter Firebase Authentication. I faced many issues due to it being in an old version of firebase, but I migrated and fixed

how to solve dynamic list type casting error in Hive?

sorry I am new in using Flutter and using Hive local storage. I am using hive: ^2.0.4 hive_flutter: ^1.0.0 I open the box in main function like this Future

How to open pdf file in flutter app when a user clicks on a pdf file in file manager

i wanted to know how to make my app as a default pdf viewer. Please see the screenshot below : So when a user clicks on the pdf file the flutter app should o

How do I read the text displayed on browser using a Flutter chrome extension?

So basically what I want to do is use a Flutter Chrome extension to be able to read the content being displayed by a webpage. I understand that the underlying t

How to get Transform.translate to work Flutter

I have created a staggered animation in Flutter using the animation controller to run a given widget. The properties (scale, rotate) animate perfectly at each i

Flutter - Error: Unable to create dart snapshot for flutter tool

When I run flutter change channel or flutter doctor, the CMD show me this: C:\Users\MyUser>flutter doctor -v Checking Dart SDK version... Building flutter

API call terminate when screen gets off (or app goes background) IOS Flutter

I have a login page which starts downloading base data for the app after user enters username and password, and its a long duration operation like 2 or 3 minute

How to show time in AM or PM format from TimeOfDay with flutter?

I used ShowTimePicker class to select time according to my wish but want to show it in PM or AM with Text .like 9:00 AM, 10:00 PM. means take 12 hours format.

"Missing 'package' key attribute on element package at AndroidManifest.xml:11:5-64"

Actually I published a app in play store, in the next update I want to add UPI payments in the app. So, I am using upi_pay package. When I installing the packag

Flutter Mac Book M1 You appear to have CocoaPods installed but it is not working

STILL NOT SOLVED I am setting up Android Studio on Mac Book with M1 Chip (Big Sur). When editing a project with dependencies, I get a Cocopod error. I tried rei

Flutter: How to use RefreshIndicator with SliverAppBar

I'm trying to add RefreshIndicator to CustomScrollView. Is it possible to do? Here is the code sample: CustomScrollView( slivers: <Widget>[ SliverAp

How generate specific widget dynamically inside ListView.Builder?

How generate specific widget dynamically inside ListView.Builder? I have my data coming from StreamBuilder, this data coming in numbers [1...24] sometimes comin

Using different than default location source in google maps flutter package

In every example of adding google maps to flutter mobile app I found on the internet, I see that people use either google maps with myLocationEnabled, which use

How to get the wifi name(SSID) of the currently connected wifi in Flutter

With the help of this Connectivity Plugin, I am able to get the connection status i.e. mobile network, wifi or none using the following code: import 'dart:asy

Flutter AnimatedSwitcher jumps between children

I am trying to implement some custom design in an expasion panel list. Therefore, I wanted to create some kind of animation that animates smoothly from one view

Not able to connect flutter socket socket_io_client 1.0.1 to nodejs server

**Not able to connect websocket to the nodejs server for websocket connection I'm using socket_io_client: ^1.0.1 library ** void connect(){ IO.Socket socke