datalocal

Creator: coderz1093

Last updated:

0 purchases

datalocal Image
datalocal Images

Languages

Categories

Add to Cart

Description:

datalocal

datalocal #
Flutter local data saved with state
You can try it on
datalocal.web.app.
Usage #
import 'package:datalocal/datalocal.dart';

...
Future<void> initialize() async {
state = await DataLocal.create(
"notes",
onRefresh: () {
setState(() {});
},
);
state.onRefresh = () {
data = state.data;
setState(() {});
};
state.refresh();
...
...
copied to clipboard
DataLocal #
[DataLocal] is a class to initialize and save any state of data
For example:
...
state = await DataLocal.create(
"notes",
onRefresh: () {
setState(() {});
},
);
state.onRefresh = () {
data = state.data;
setState(() {});
};
state.refresh();
loading = false;
setState(() {});
...
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.