flowdb for Flutter

flowdb for Flutter is a package that brings the power, simplicity, and convenience of the flowdb library to your Flutter apps.

Features

  • Seamless local and sync storage: Store data persistently in your Flutter app.
  • Reactive data: Listen to changes and automatically update your UI.
  • Simple API: Easy to use, with familiar Dart/Flutter patterns.

Installation

Add the following to your pubspec.yaml:

dependencies:
  flowdb: ^1.0.0

Then, run:

flutter pub get

Usage

import 'package:flowdb/flowdb.dart';

void main() async {
  final db = await Database.open('my_app_db');

  final store = db.store("settings")

  // Set some data
  await store.set('username', 'flutter_dev');

  // Get data
  var username = await store.get('username');
  print('User: $username');

  // Remove data
  await store.remove('username');
}

Documentation

Contributing

Pull requests and issues are welcome! Please open a discussion or PR on GitHub.

License

See LICENSE.


Built with ❤️ for Flutter developers.

Libraries

flow_flutter