$ flutter create --org com.kkimj.emobook emo_book_flutter
MVVM
- Model
- View
- View model
$ flutter pub add pedantic
$ flutter pub add get
$ flutter pub add freezed
$ flutter pub add responsive_builder
$ echo include: package:pedantic/analysis_options.yaml > analysis_options.yaml
# Build for freezed
$ flutter pub run build_runner build
$ flutter run -d chrome --web-renderer html
# or
$ flutter run -d web-server --web-port 8080
$ flutter test --machine test/widget_test.dart
# or just
$ flutter test
$ flutter run -d chrome --release --web-renderer html
or
$ flutter build web --web-renderer html --release
# check /build/web/
$ firebase init
# Set /build/web for deploy directory to hosting
$ firebase deploy --only hosting
# or just
$ firebase deploy
https://pub.dev/packages/googleapis
https://developers.google.com/books
$ curl -X GET "https://dapi.kakao.com/v3/search/book?sort=accuracy&page=1&size=10&target=isbn&query={isbn}" \
-H "Authorization: KakaoAK {REST_API_KEY}"
https://pub.dev/packages/books_finder
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15
// make sure
ext.kotlin_version = '1.4.32'
// from
// ext.kotlin_version = '1.3.50'
// ref.
// https://stackoverflow.com/questions/67699823/module-was-compiled-with-an-incompatible-version-of-kotlin-the-binary-version-o