Chat Flutter Build with Flutter and Firebase

A full stack real time chatting app with Flutter and Firebase CRUD operaions.

Unhandled Exception: FormatException: Trying to read yyyy from null at position 0

I tried to use dateTime to open or close the access to the registration form, I saved the value of open or close date in my Firebase.. so I must retrieve the date valu...

Firebase_database plugin for flutter is not working (resolve android.arch.core:common:1.1.1.)

I am new to flutter development. I want to use the firebase database. I was able to connect to firebase using the firebase analytics plugin but I was not successful in...

How to get local timezone on Flutter web?

I want to get current timezone such as Europe/london.<a href="https://pub.dev/packages/flutter_native_timezone" rel="nofollow noreferrer">flutter_native_timezone</a> n...

Flutter firebase realtime database how to update multiple children?

I'm trying to update multiple children in flutter: update all the orders in the jobs. In Android I could do this: <pre><code>public void setJobOrder(final ArrayLi...

The operator [] isnt defined for the type Object? Function(). error

<pre><code>import 'package:firebase_auth/firebase_auth.dart'; import 'package:flutter/material.dart'; import 'package:flash_chat/constants.dart'; import 'package:cloud_fi...

Flutter - Vertical viewport was given unbounded height

I want to write the available devices under the image that is shown like this: <a href="https://i.stack.imgur.com/QrNx4.png" rel="nofollow noreferrer"><img src="https:...

How can I show greetings like Good Moring, afternoon or evening base on users time in flutter

I want to greet user when they visit my app I have tried using TimeOfDay but it isn't working. <pre><code>TimeOfDay now = TimeOfDay.now(); greetings(St...

How to get GMT timeoffset value for current time in Dart/Flutter

I'm developing an application where I need to get only GMT offset time, i.e. for India +5.30. How do I achieve this dart. var now = new DateTime.now(); var...

Sending self sms from iPhone via flutter

I'm using the flutter_otp plugin for SMS. It works fine on Android but I get this error on iPhone. I tried different format for phone number but still th...

Using Flutter and Dart, why String variables value is changing over screen transfer?

At my first screen this is the code and result: <pre><code>appController.mydate=DateTime.parse(info.timestamp).toLocal().toString().substring(0, DateTime.parse(inf...

How to send fcm notification using flutter and firebase realtime database

i am trying to do firebase realtime messaging code in node.js,but i am confuce about how to do that? const doc = snap.data() console.log(doc) <pre><code>cons...

How to write data to the firebase realtime database inside a widget loop?

Hi everyone, I'm new to flutter and I am stuck in this code. I want to multipy a row widget based on the user input and I've tested that using 'for' loop. But I don't...

How to prevent GoogleMap rebuild because of saving state in every user movement - Flutter

Hi I am using <code>google_maps_flutter: ^2.2.0</code> and <code>geolocator: ^9.0.1</code> to show real time location user and I need to get the coordinates of latitud...

How to timeout a timer instead of cancelling

I have a <code>RefreshIndicator</code> which expects a future to return. That RefreshIndicator takes a callback which returns a timer and returns a future. The timer b...