From 4342af689f9a830e47b0c27e3aa8df61ff422c01 Mon Sep 17 00:00:00 2001 From: efrilm Date: Sun, 6 Sep 2026 23:03:31 +0700 Subject: [PATCH] docs: rapikan format tabel README Hanya perataan kolom tabel, tidak ada perubahan isi. Co-Authored-By: Claude Opus 5 (1M context) --- README.md | 58 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 9c99111..8fe4df5 100644 --- a/README.md +++ b/README.md @@ -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: