hive_generator 0.1.0 copy "hive_generator: ^0.1.0" to clipboard
hive_generator: ^0.1.0 copied to clipboard

outdated

Automatically generates Hive TypeAdapters for any class.

example/main.dart

import 'package:hive/hive.dart';

@HiveType()
class Person {
  @HiveField(1)
  String name;

  @HiveField(2)
  int age;

  @HiveField(3)
  int _income;

  @HiveField(4)
  List<String> hobbies;

  @HiveField(5)
  List<Person> friends;
}
366
likes
0
pub points
99%
popularity

Publisher

verified publisherhivedb.dev

Automatically generates Hive TypeAdapters for any class.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, hive, source_gen

More

Packages that depend on hive_generator