docs: rapikan format tabel README
Hanya perataan kolom tabel, tidak ada perubahan isi. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,22 +23,22 @@ Aplikasi Point of Sale (POS) berbasis Flutter untuk manajemen kasir restoran. Me
|
|||||||
|
|
||||||
## Tech Stack
|
## Tech Stack
|
||||||
|
|
||||||
| Kategori | Library |
|
| Kategori | Library |
|
||||||
|---|---|
|
| -------------------- | ------------------------------------------------------------- |
|
||||||
| Version Manager | `fvm` — Flutter dipin di `.fvmrc` |
|
| Version Manager | `fvm` — Flutter dipin di `.fvmrc` |
|
||||||
| State Management | `flutter_bloc` + `bloc` |
|
| State Management | `flutter_bloc` + `bloc` |
|
||||||
| Dependency Injection | `get_it` + `injectable` |
|
| Dependency Injection | `get_it` + `injectable` |
|
||||||
| Navigation | `auto_route` |
|
| Navigation | `auto_route` |
|
||||||
| HTTP Client | `dio` |
|
| HTTP Client | `dio` |
|
||||||
| Local Database | `sqflite` |
|
| Local Database | `sqflite` |
|
||||||
| Local Storage | `shared_preferences` |
|
| Local Storage | `shared_preferences` |
|
||||||
| Firebase | `firebase_core`, `firebase_crashlytics`, `firebase_messaging` |
|
| Firebase | `firebase_core`, `firebase_crashlytics`, `firebase_messaging` |
|
||||||
| Push Notification | `flutter_local_notifications` |
|
| Push Notification | `flutter_local_notifications` |
|
||||||
| Device Info | `device_info_plus`, `package_info_plus` |
|
| Device Info | `device_info_plus`, `package_info_plus` |
|
||||||
| Code Generation | `freezed`, `json_serializable` |
|
| Code Generation | `freezed`, `json_serializable` |
|
||||||
| Printer | `print_bluetooth_thermal`, `flutter_esc_pos_network` |
|
| Printer | `print_bluetooth_thermal`, `flutter_esc_pos_network` |
|
||||||
| Chart | `fl_chart` |
|
| Chart | `fl_chart` |
|
||||||
| Connectivity | `connectivity_plus` |
|
| Connectivity | `connectivity_plus` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -155,6 +155,8 @@ Di VSCode sudah tersedia konfigurasi **Dev** dan **Prod** di `.vscode/launch.jso
|
|||||||
# APK
|
# APK
|
||||||
fvm flutter build apk --release --dart-define=ENV=prod
|
fvm flutter build apk --release --dart-define=ENV=prod
|
||||||
|
|
||||||
|
fvm flutter build apk --release --split-per-abi --dart-define=ENV=prod
|
||||||
|
|
||||||
# App Bundle (Play Store)
|
# App Bundle (Play Store)
|
||||||
fvm flutter build appbundle --release --dart-define=ENV=prod
|
fvm flutter build appbundle --release --dart-define=ENV=prod
|
||||||
|
|
||||||
@@ -189,10 +191,10 @@ fvm dart run build_runner watch
|
|||||||
|
|
||||||
Konfigurasi environment ada di `lib/env.dart` — **itu sumber kebenarannya**, jangan disalin ke sini karena gampang basi.
|
Konfigurasi environment ada di `lib/env.dart` — **itu sumber kebenarannya**, jangan disalin ke sini karena gampang basi.
|
||||||
|
|
||||||
| Environment | Database |
|
| Environment | Database |
|
||||||
|---|---|
|
| ----------- | ----------------------- |
|
||||||
| `dev` | `apskel_pos_staging.db` |
|
| `dev` | `apskel_pos_staging.db` |
|
||||||
| `prod` | `apskel_pos_prod.db` |
|
| `prod` | `apskel_pos_prod.db` |
|
||||||
|
|
||||||
Environment dipilih dari `--dart-define=ENV=...` di `lib/main.dart`:
|
Environment dipilih dari `--dart-define=ENV=...` di `lib/main.dart`:
|
||||||
|
|
||||||
@@ -213,14 +215,14 @@ DI menggunakan `get_it` + `injectable`. Semua service, repository, dan BLoC dida
|
|||||||
|
|
||||||
### Modul DI
|
### Modul DI
|
||||||
|
|
||||||
| File | Isi |
|
| File | Isi |
|
||||||
|---|---|
|
| ---------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
| `di_firebase.dart` | `FirebaseMessaging`, `FlutterLocalNotificationsPlugin`, `DeviceInfoPlugin`, `PackageInfo` |
|
| `di_firebase.dart` | `FirebaseMessaging`, `FlutterLocalNotificationsPlugin`, `DeviceInfoPlugin`, `PackageInfo` |
|
||||||
| `di_dio.dart` | `Dio` HTTP client |
|
| `di_dio.dart` | `Dio` HTTP client |
|
||||||
| `di_shared_preferences.dart` | `SharedPreferences` |
|
| `di_shared_preferences.dart` | `SharedPreferences` |
|
||||||
| `di_database.dart` | `DatabaseHelper` (SQLite) |
|
| `di_database.dart` | `DatabaseHelper` (SQLite) |
|
||||||
| `di_auto_route.dart` | `AppRouter` |
|
| `di_auto_route.dart` | `AppRouter` |
|
||||||
| `di_connectivity.dart` | `Connectivity` |
|
| `di_connectivity.dart` | `Connectivity` |
|
||||||
|
|
||||||
Setelah menambah atau mengubah class yang menggunakan annotation injectable, jalankan:
|
Setelah menambah atau mengubah class yang menggunakan annotation injectable, jalankan:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user