Open asset database with migration strategy

I followed this guide <a href="https://github.com/tekartik/sqflite/blob/master/sqflite/doc/opening_asset_db.md" rel="nofollow noreferrer">Opening an asset database</a>...

flutter, get items from sqflite and show in listview with ontap

my qustion as about flutter and sqflite. i want to get all items from sqflite and show to the listview.builder. in part two i want to taped on item of listview...

Update forms in FutureBuilder

I want to be able to update my forms in a futureBuilder. I need the futureBuilder to retrieve all the datas from the player in my DataBase. I am setting my initial val...

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...

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...

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...

whether hive or sqflite good for handling large amount of data in flutter

i am trying to create a note keeping app using flutter. I am confused that whether i should use hive or sqflite. which is good for dealing with large amount of data.</...

Refresh/Reset StreamProvider - Flutter Firebase

In my app, I have the following providers. <pre class="lang-dart prettyprint-override"><code>@override Widget build(BuildContext context) { return OverlaySup...

How do I create Flutter stream builder?

I have an updateDatabase function that retrieves the data from the Firebase Real-Time Database and saves it in the shared preferences ... I put this functi...

Sending value from flutter to realtime database firebase

I want to send a specific value 0 or 1 when I click onPressed. Here is my code: <pre><code>openGatePhoto() async { await Firebase.initializeApp();...

how can i get data from snapshot using model from firebase realtime data base in flutter and show data in grid view

My Modle is like this and using this modle i want to get data to gridview <pre><code> Streamer streamerFromJson(String str) =&gt; Streamer.fromJson(json.decode(...

error in perform searching using cloud firestore in flutter

I am having issues in getting the search result. I have some data in cloud <code>firestore</code>, I want to perform searching on that data. Here is the screen shot of...

How to subscribe to DB changes with Floor in Flutter?

I'm trying to use an ability of <a href="https://pub.dev/packages/floor" rel="nofollow noreferrer">Floor package</a> to subscribe to db changes getting a stream like t...