Category "flutter"

flutter OpenContainer problems

Flexible( fit: FlexFit.tight, child: OpenContainer( closedShape: RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.c

Flutter: converting an Image object to a base64 string without using a File

I grabbed somewhere the following code to convert a picture to a base64 string without accessing a file : String ImageToString(Image image) { String result;

Face Detection in Preview Camera Feed on Flutter

How do we "draw a square" on detected faces on camera preview feed in Flutter? Is there a cross platform solution to this? Flutter provides a Camera Plugin, but

Android Alarm Manager Plus in Flutter never fires periodic

Android Alarm Manager Plus in Flutter never fires periodic after 1 minute regularly

Facing These Issues When Generating IOS Build

These are the Errors while generating The IOS build TFlite Error (2.7.0) This is the current package which I am using in my project The Tflite Issue has been

How can get a pop page result in navigator2

I am ready to use Navigator2 instead of Navigator1 in my flutter app. There are two pages, Page1 and Page2. Page1 can push to Page2. When pop Page2 I want to pa

Execution failed for task ':share_plus:compileDebugKotlin'. Getting this compiling flutter app tried everything flutter clean etc nothing is working

Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe ope

how to disable scrolling NestedScrollView

I tried to use physics: NeverScrollableScrollPhysics() in NestedScrollView but still yet is still scrolling. How can disable scrolling in NestedScrollView if th

How to remove space after Transform.translate in CustomScrollView?

Help me, any idea how to remove the space between yellow and green Container? It's caused by the Container have additional height after transform translate. I n

Video not playing in flutter web application

I am trying to use Viedo as a backgrounnd for scaffold widget in flutter web application but the video is not displayed though it's working fine in android but

Format users' contacts' phone numbers - Flutter

I am building a chat application that takes a user's phone number with a country code for registration. After registration and permission, I use the contacts_se

ERROR: The argument type 'Object?' can't be assigned to the parameter type 'String?'

I have a TextFormField widget wrapped inside a StreamBuilder, in TextFormField widget, inside the decoration, when is pass snapshot.error to the errorText argum

Flutter: How do I send a push notification from the device itself?

I'm new to programming and I'm developing an app in which the user is suppose to get a notification 30 minutes before an event that's scheduled on the app. The

Flutter Web Heroku Google OAuth Fails

I just deployed a Flutter Web App on Heroku. I used https://github.com/diezep/heroku-buildpack-flutter as the buildpack and it deployed beautifully. My Flutter

Flutter Navigator 2.0 does not transition between root navigator pages

I'm using Navigator 2.0 API to handle navigation in my app, and I have problem with top-most RouterDelegate (the nested RouterDelegates underneath it work fine)

How to populate firebase reference type in flutter

This is how my firebase firestore data look like You can see that I have the person data field which is a reference type. And this is how I retrieve data from

The getter 'documents' isn't defined for the type 'Object'

I have a collection called status in Firebase. I'm trying to pull data from here. However I am getting this error. I tried some solutions but I still get the sa

Flutter error Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

Hello I have a flutter error although i dont have any bugs in code. This is all error: /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib

(FLUTTER) --- RangeError (index): Invalid value: Valid value range is empty: 0

Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: const EdgeInsets.all(8.0), child: Icon( password[0] == null ? unchangedPassword

PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)

**HI I am trying to play a live news video in my flutter app it is .m3u8 format but get above error. Using all of the updated dependencies. I want to play live