Category "flutter"

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

AWS Amplify Flutter: how to create platform endpoint?

Short version of my question: I have a Flutter mobile app that uses AWS Amplify to handle user sign-up and log-in. Now I need to add push notification capabilit

visual studio code keeps display an error after updating flutter to v 2.10.3

after upgrading my old flutter with latest version of flutter 2.10.3 vs code keeps display the errors down below : /C:/flutter2/packages/flutter/lib/src/mater

An unexpected packet was received before the handshake. - Android Studio

When I run the Flutter project on Android Studio, before running the application on the emulator, the event log displays "An unexpected packet was received befo

How can I Make from Flutter Project files a one single file to install it on Android or IOS?

I am just starting learn Flutter, I build a simple as you see on the photos. My problem is I have a windows 11 and I don't have any MacOS Device, But I want to

Requires SDK version >=2.16.0 <3.0.0, version solving failed

The current Dart SDK version is 2.14.4. Because trackkit requires SDK version >=2.16.0 <3.0.0, version solving failed. pub finished with exit code 1 My pu

different in signature in Dart & node

am trying to make a signature for a HTTP request , using flutter/dart for the app and the server in NodeJs but i have a problem there is little different betwee