hive 0.1.1 copy "hive: ^0.1.1" to clipboard
hive: ^0.1.1 copied to clipboard

outdated

Hive is a lightweight and blazing fast key/value store written in pure Dart.

example/main.dart

import 'dart:io';

import 'package:hive/hive.dart';

void main() async {
  Hive.init(Directory.current.path);

  var box = await Hive.box("demoBox");

  await box.put("name", "David");
  await box.put("age", 27);

  print(await box.get("name")); // David
  print(await box.get("age")); // 27

  await box.close();
}
5916
likes
0
pub points
100%
popularity

Publisher

verified publisherisar.dev

Hive is a lightweight and blazing fast key/value store written in pure Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, path, pointycastle

More

Packages that depend on hive