Category "flutter"

Flutter - show android homescreen widget in the app

Is it possible somehow to display Android homescreen widget as a Flutter widget? I've read about PlatformView widget that can embed any Android view inside Fl

StackOverflowError was thrown building HeroControllerScope, flutter

I have a very large project in flutter which is connected with back4app i did some little changes last, it was working good today am trying to open my project i

Flutter: Autocomplete not showing suggestions when suggestion list changes

Framework & Architecture I have a specific architecture in my Flutter app. I am using BLoC pattern (flutter_bloc) to maintain state and fetch data from remo

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