0 purchases
easy firestore
Firestore Helper #
A helper package to make the firestore easy.
Document #
Update the widget when docuemnt changes.
Document(
collectionName: 'settings',
id: id,
builder: (model) {
return builder(model);
},
);
copied to clipboard
DocumentModel #
The data model of the doucment.
Setting(
id: 'system',
builder: (DocumentModel doc) {
return ListTile(
title: Text('System count: ${doc.value<int>('count') ?? 0}'),
onTap: () {
doc.increment('count');
},
);
},
),
copied to clipboard
FirestoreLimitedListView #
Purpose:
To display the limited numbrer of document as a listview.
FirestoreLimitedQueryBuilder #
Purpose:
To get the limited number of document by query
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.