Flutter Hive
I had a idea to share my knowledge flutter and hive native database, i hope help other dev with doubt
The development of this project consists of using only native features of flutter itself, I chose not to use state management only the native change value notify
- Clone o repositório:
$ git clone https://github.com/RegisSalesRA/flutter_hive.git
- Entre no diretório:
$ cd flutter_hive
- Instale as dependências:
$ flutter pub get / flutter packages get
- Execute:
$ flutter run
- add Fields on hive:
$ flutter packages pub run build_runner build --delete-conflicting-outputs
- hive: ^2.0.3
- hive_flutter: ^1.0.0
- intl: ^0.17.0
- build_runner: ^2.1.10
- hive_generator: ^1.0.1
- flutter_native_splash: ^1.2.0
- flutter_launcher_icons: ^0.9.1
Studying is essential for a good future, studying and practicing is the key to SUCCESS!