hive 0.3.0+1 copy "hive: ^0.3.0+1" to clipboard
hive: ^0.3.0+1 copied to clipboard

outdated

Lightweight and blazing fast key-value store written in pure Dart. Stronly encrypted using AES-256.

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();
}
5603
likes
0
pub points
100%
popularity

Publisher

verified publisherisar.dev

Lightweight and blazing fast key-value store written in pure Dart. Stronly encrypted using AES-256.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, path, pointycastle

More

Packages that depend on hive