sql tutorial for flutter code example
Example: types of data bases in flutter
var box = await Hive.openBox('testBox');
import 'package:hive/hive.dart';
void main() async {
var box = await Hive.openBox('testBox');
box.put('name', 'David');
print('Name: ${box.get('name')}');
}
import 'package:hive/hive.dart';
part 'person.g.dart';
()
class Person
{
(0) String name;
(1) int age;
(2) List<Person> friends;
}