Category "flutter"

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

Missing type arguments for generic type 'Future<dynamic>'. Try adding an explicit type, or remove implicit-dynamic from your analysis options file

How do I resolve this issue without removing the implicit-dynamic form analysis options file? Error: My Code: Future<void> _scrollToBottomOnKeyboardOpen(

flutter LinearGradient transparent to white overlay

I am trying to make a container that fades from transparent to white. I'll put it over stuff so it looks like the content behind is fading away into the whitene

What's the best way to make a spinning wheel?

I'm trying to make a wheel that can spin when a user drags up and down on a screen. It's essentially an infinite vertical scroll. So far I can make it turn wh

Flutter Search Delegate Taking Full Width

I made a master-detail type view app using flutter, running on flutter desktop. I implemented the SearchDelegate on appBar, but it takes the full width of the a

how to store the location data in flutter?

import 'package:firebase_core/firebase_core.dart'; import 'package:firstapp/screens/Login_screen.dart'; import 'package:firstapp/screens/authunication/phone_aut