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
|
||||
|
||||
| Kategori | Library |
|
||||
|---|---|
|
||||
| Version Manager | `fvm` — Flutter dipin di `.fvmrc` |
|
||||
| State Management | `flutter_bloc` + `bloc` |
|
||||
| Dependency Injection | `get_it` + `injectable` |
|
||||
| Navigation | `auto_route` |
|
||||
| HTTP Client | `dio` |
|
||||
| Local Database | `sqflite` |
|
||||
| Local Storage | `shared_preferences` |
|
||||
| Firebase | `firebase_core`, `firebase_crashlytics`, `firebase_messaging` |
|
||||
| Push Notification | `flutter_local_notifications` |
|
||||
| Device Info | `device_info_plus`, `package_info_plus` |
|
||||
| Code Generation | `freezed`, `json_serializable` |
|
||||
| Printer | `print_bluetooth_thermal`, `flutter_esc_pos_network` |
|
||||
| Chart | `fl_chart` |
|
||||
| Connectivity | `connectivity_plus` |
|
||||
| Kategori | Library |
|
||||
| -------------------- | ------------------------------------------------------------- |
|
||||
| Version Manager | `fvm` — Flutter dipin di `.fvmrc` |
|
||||
| State Management | `flutter_bloc` + `bloc` |
|
||||
| Dependency Injection | `get_it` + `injectable` |
|
||||
| Navigation | `auto_route` |
|
||||
| HTTP Client | `dio` |
|
||||
| Local Database | `sqflite` |
|
||||
| Local Storage | `shared_preferences` |
|
||||
| Firebase | `firebase_core`, `firebase_crashlytics`, `firebase_messaging` |
|
||||
| Push Notification | `flutter_local_notifications` |
|
||||
| Device Info | `device_info_plus`, `package_info_plus` |
|
||||
| Code Generation | `freezed`, `json_serializable` |
|
||||
| Printer | `print_bluetooth_thermal`, `flutter_esc_pos_network` |
|
||||
| Chart | `fl_chart` |
|
||||
| Connectivity | `connectivity_plus` |
|
||||
|
||||
---
|
||||
|
||||
@@ -155,6 +155,8 @@ Di VSCode sudah tersedia konfigurasi **Dev** dan **Prod** di `.vscode/launch.jso
|
||||
# APK
|
||||
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)
|
||||
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.
|
||||
|
||||
| Environment | Database |
|
||||
|---|---|
|
||||
| `dev` | `apskel_pos_staging.db` |
|
||||
| `prod` | `apskel_pos_prod.db` |
|
||||
| Environment | Database |
|
||||
| ----------- | ----------------------- |
|
||||
| `dev` | `apskel_pos_staging.db` |
|
||||
| `prod` | `apskel_pos_prod.db` |
|
||||
|
||||
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
|
||||
|
||||
| File | Isi |
|
||||
|---|---|
|
||||
| `di_firebase.dart` | `FirebaseMessaging`, `FlutterLocalNotificationsPlugin`, `DeviceInfoPlugin`, `PackageInfo` |
|
||||
| `di_dio.dart` | `Dio` HTTP client |
|
||||
| `di_shared_preferences.dart` | `SharedPreferences` |
|
||||
| `di_database.dart` | `DatabaseHelper` (SQLite) |
|
||||
| `di_auto_route.dart` | `AppRouter` |
|
||||
| `di_connectivity.dart` | `Connectivity` |
|
||||
| File | Isi |
|
||||
| ---------------------------- | ----------------------------------------------------------------------------------------- |
|
||||
| `di_firebase.dart` | `FirebaseMessaging`, `FlutterLocalNotificationsPlugin`, `DeviceInfoPlugin`, `PackageInfo` |
|
||||
| `di_dio.dart` | `Dio` HTTP client |
|
||||
| `di_shared_preferences.dart` | `SharedPreferences` |
|
||||
| `di_database.dart` | `DatabaseHelper` (SQLite) |
|
||||
| `di_auto_route.dart` | `AppRouter` |
|
||||
| `di_connectivity.dart` | `Connectivity` |
|
||||
|
||||
Setelah menambah atau mengubah class yang menggunakan annotation injectable, jalankan:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user