diff --git a/app_petty_cash/fonts/Inter-Bold.ttf b/app_petty_cash/fonts/Inter-Bold.ttf new file mode 100644 index 0000000..8e82c70 Binary files /dev/null and b/app_petty_cash/fonts/Inter-Bold.ttf differ diff --git a/app_petty_cash/images/Background.png b/app_petty_cash/images/Background.png new file mode 100644 index 0000000..7e82cf1 Binary files /dev/null and b/app_petty_cash/images/Background.png differ diff --git a/app_petty_cash/images/Background_cover.png b/app_petty_cash/images/Background_cover.png new file mode 100644 index 0000000..a4c78fe Binary files /dev/null and b/app_petty_cash/images/Background_cover.png differ diff --git a/app_petty_cash/images/DesignHeader.png b/app_petty_cash/images/DesignHeader.png new file mode 100644 index 0000000..ac772ec Binary files /dev/null and b/app_petty_cash/images/DesignHeader.png differ diff --git a/app_petty_cash/images/avatar.png b/app_petty_cash/images/avatar.png new file mode 100644 index 0000000..01da106 Binary files /dev/null and b/app_petty_cash/images/avatar.png differ diff --git a/app_petty_cash/images/avatar2.jpg b/app_petty_cash/images/avatar2.jpg new file mode 100644 index 0000000..1ebeb98 Binary files /dev/null and b/app_petty_cash/images/avatar2.jpg differ diff --git a/app_petty_cash/images/ganti_password.jpg b/app_petty_cash/images/ganti_password.jpg new file mode 100644 index 0000000..51fec94 Binary files /dev/null and b/app_petty_cash/images/ganti_password.jpg differ diff --git a/app_petty_cash/images/header_logo.png b/app_petty_cash/images/header_logo.png new file mode 100644 index 0000000..be9179f Binary files /dev/null and b/app_petty_cash/images/header_logo.png differ diff --git a/app_petty_cash/images/header_tanpa_logo.png b/app_petty_cash/images/header_tanpa_logo.png new file mode 100644 index 0000000..cc57ad7 Binary files /dev/null and b/app_petty_cash/images/header_tanpa_logo.png differ diff --git a/app_petty_cash/images/keluar.png b/app_petty_cash/images/keluar.png new file mode 100644 index 0000000..4b3a7f9 Binary files /dev/null and b/app_petty_cash/images/keluar.png differ diff --git a/app_petty_cash/images/logoPramita.png b/app_petty_cash/images/logoPramita.png new file mode 100644 index 0000000..24d11aa Binary files /dev/null and b/app_petty_cash/images/logoPramita.png differ diff --git a/app_petty_cash/images/logo_gabung.png b/app_petty_cash/images/logo_gabung.png new file mode 100644 index 0000000..84f477c Binary files /dev/null and b/app_petty_cash/images/logo_gabung.png differ diff --git a/app_petty_cash/images/logo_gabung_bg.jpg b/app_petty_cash/images/logo_gabung_bg.jpg new file mode 100644 index 0000000..e85c633 Binary files /dev/null and b/app_petty_cash/images/logo_gabung_bg.jpg differ diff --git a/app_petty_cash/images/logo_gabung_bg_png.png b/app_petty_cash/images/logo_gabung_bg_png.png new file mode 100644 index 0000000..905a67c Binary files /dev/null and b/app_petty_cash/images/logo_gabung_bg_png.png differ diff --git a/app_petty_cash/images/logo_pramita.png b/app_petty_cash/images/logo_pramita.png new file mode 100644 index 0000000..205653d Binary files /dev/null and b/app_petty_cash/images/logo_pramita.png differ diff --git a/app_petty_cash/images/profile_dokter.png b/app_petty_cash/images/profile_dokter.png new file mode 100644 index 0000000..3eb30e0 Binary files /dev/null and b/app_petty_cash/images/profile_dokter.png differ diff --git a/app_petty_cash/images/splashscreen.png b/app_petty_cash/images/splashscreen.png new file mode 100644 index 0000000..5b41760 Binary files /dev/null and b/app_petty_cash/images/splashscreen.png differ diff --git a/app_petty_cash/macos/Flutter/GeneratedPluginRegistrant.swift b/app_petty_cash/macos/Flutter/GeneratedPluginRegistrant.swift index cccf817..724bb2a 100644 --- a/app_petty_cash/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/app_petty_cash/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,6 +5,8 @@ import FlutterMacOS import Foundation +import shared_preferences_foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) } diff --git a/app_petty_cash/pubspec.lock b/app_petty_cash/pubspec.lock index 79f5434..567d0f8 100644 --- a/app_petty_cash/pubspec.lock +++ b/app_petty_cash/pubspec.lock @@ -49,6 +49,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.6" + dio: + dependency: "direct main" + description: + name: dio + sha256: "7d328c4d898a61efc3cd93655a0955858e29a0aa647f0f9e02d59b3bb275e2e8" + url: "https://pub.dev" + source: hosted + version: "4.0.6" + equatable: + dependency: "direct main" + description: + name: equatable + sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + url: "https://pub.dev" + source: hosted + version: "2.0.5" fake_async: dependency: transitive description: @@ -57,11 +73,43 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.1" + fancy_bottom_navigation_2: + dependency: "direct main" + description: + name: fancy_bottom_navigation_2 + sha256: "28d82e6a5ffddb5275fbc2a5fc39a4712a1cdb6d91d80315e85c4ef9a206f4e0" + url: "https://pub.dev" + source: hosted + version: "0.3.5" + ffi: + dependency: transitive + description: + name: ffi + sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" + url: "https://pub.dev" + source: hosted + version: "2.1.0" + file: + dependency: transitive + description: + name: file + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" + url: "https://pub.dev" + source: hosted + version: "7.0.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" + flutter_hooks: + dependency: "direct main" + description: + name: flutter_hooks + sha256: "6a126f703b89499818d73305e4ce1e3de33b4ae1c5512e3b8eab4b986f46774c" + url: "https://pub.dev" + source: hosted + version: "0.18.6" flutter_lints: dependency: "direct dev" description: @@ -70,11 +118,48 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.3" + flutter_riverpod: + dependency: "direct main" + description: + name: flutter_riverpod + sha256: d84e180f039a6b963e610d2e4435641fdfe8f12437e8770e963632e05af16d80 + url: "https://pub.dev" + source: hosted + version: "1.0.4" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + hooks_riverpod: + dependency: "direct main" + description: + name: hooks_riverpod + sha256: c2264035396e5fc238e98ef053b07b9cab298450e39c6a8704634c8452c61bbe + url: "https://pub.dev" + source: hosted + version: "1.0.4" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + url: "https://pub.dev" + source: hosted + version: "4.0.2" + intl: + dependency: "direct main" + description: + name: intl + sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + url: "https://pub.dev" + source: hosted + version: "0.17.0" js: dependency: transitive description: @@ -123,6 +208,150 @@ packages: url: "https://pub.dev" source: hosted version: "1.8.3" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + url: "https://pub.dev" + source: hosted + version: "2.2.1" + permission_handler: + dependency: "direct main" + description: + name: permission_handler + sha256: bc56bfe9d3f44c3c612d8d393bd9b174eb796d706759f9b495ac254e4294baa5 + url: "https://pub.dev" + source: hosted + version: "10.4.5" + permission_handler_android: + dependency: transitive + description: + name: permission_handler_android + sha256: "59c6322171c29df93a22d150ad95f3aa19ed86542eaec409ab2691b8f35f9a47" + url: "https://pub.dev" + source: hosted + version: "10.3.6" + permission_handler_apple: + dependency: transitive + description: + name: permission_handler_apple + sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5" + url: "https://pub.dev" + source: hosted + version: "9.1.4" + permission_handler_platform_interface: + dependency: transitive + description: + name: permission_handler_platform_interface + sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4" + url: "https://pub.dev" + source: hosted + version: "3.12.0" + permission_handler_windows: + dependency: transitive + description: + name: permission_handler_windows + sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098 + url: "https://pub.dev" + source: hosted + version: "0.1.3" + platform: + dependency: transitive + description: + name: platform + sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" + url: "https://pub.dev" + source: hosted + version: "3.1.4" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + riverpod: + dependency: transitive + description: + name: riverpod + sha256: e7f097159b9512f5953ff544164c19057f45ce28fd0cb971fc4cad1f7b28217d + url: "https://pub.dev" + source: hosted + version: "1.0.3" + shared_preferences: + dependency: "direct main" + description: + name: shared_preferences + sha256: "81429e4481e1ccfb51ede496e916348668fd0921627779233bd24cc3ff6abd02" + url: "https://pub.dev" + source: hosted + version: "2.2.2" + shared_preferences_android: + dependency: transitive + description: + name: shared_preferences_android + sha256: "8568a389334b6e83415b6aae55378e158fbc2314e074983362d20c562780fb06" + url: "https://pub.dev" + source: hosted + version: "2.2.1" + shared_preferences_foundation: + dependency: transitive + description: + name: shared_preferences_foundation + sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c" + url: "https://pub.dev" + source: hosted + version: "2.3.5" + shared_preferences_linux: + dependency: transitive + description: + name: shared_preferences_linux + sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + shared_preferences_platform_interface: + dependency: transitive + description: + name: shared_preferences_platform_interface + sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + shared_preferences_web: + dependency: transitive + description: + name: shared_preferences_web + sha256: d762709c2bbe80626ecc819143013cc820fa49ca5e363620ee20a8b15a3e3daf + url: "https://pub.dev" + source: hosted + version: "2.2.1" + shared_preferences_windows: + dependency: transitive + description: + name: shared_preferences_windows + sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59" + url: "https://pub.dev" + source: hosted + version: "2.3.2" sky_engine: dependency: transitive description: flutter @@ -144,6 +373,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.11.0" + state_notifier: + dependency: transitive + description: + name: state_notifier + sha256: "8fe42610f179b843b12371e40db58c9444f8757f8b69d181c97e50787caed289" + url: "https://pub.dev" + source: hosted + version: "0.7.2+1" stream_channel: dependency: transitive description: @@ -176,6 +413,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.5.1" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + url: "https://pub.dev" + source: hosted + version: "1.3.2" vector_math: dependency: transitive description: @@ -184,5 +429,22 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" + win32: + dependency: transitive + description: + name: win32 + sha256: "350a11abd2d1d97e0cc7a28a81b781c08002aa2864d9e3f192ca0ffa18b06ed3" + url: "https://pub.dev" + source: hosted + version: "5.0.9" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + url: "https://pub.dev" + source: hosted + version: "1.0.4" sdks: dart: ">=3.0.6 <4.0.0" + flutter: ">=3.10.0" diff --git a/app_petty_cash/pubspec.yaml b/app_petty_cash/pubspec.yaml index bc92687..77c1dbf 100644 --- a/app_petty_cash/pubspec.yaml +++ b/app_petty_cash/pubspec.yaml @@ -35,6 +35,15 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 + dio: ^4.0.6 + flutter_riverpod: ^1.0.4 + flutter_hooks: ^0.18.5+1 + hooks_riverpod: ^1.0.4 + equatable: ^2.0.3 + shared_preferences: ^2.0.1 + fancy_bottom_navigation_2: ^0.3.5 + intl: ^0.17.0 + permission_handler: ^10.2.0 dev_dependencies: flutter_test: @@ -59,8 +68,8 @@ flutter: uses-material-design: true # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg + assets: + - images/ # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see @@ -74,10 +83,10 @@ flutter: # "family" key with the font family name, and a "fonts" key with a # list giving the asset and other descriptors for the font. For # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf + fonts: + - family: Inter + fonts: + - asset: fonts/Inter-Bold.ttf # - asset: fonts/Schyler-Italic.ttf # style: italic # - family: Trajan Pro diff --git a/app_petty_cash/windows/flutter/generated_plugin_registrant.cc b/app_petty_cash/windows/flutter/generated_plugin_registrant.cc index 8b6d468..48de52b 100644 --- a/app_petty_cash/windows/flutter/generated_plugin_registrant.cc +++ b/app_petty_cash/windows/flutter/generated_plugin_registrant.cc @@ -6,6 +6,9 @@ #include "generated_plugin_registrant.h" +#include void RegisterPlugins(flutter::PluginRegistry* registry) { + PermissionHandlerWindowsPluginRegisterWithRegistrar( + registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin")); } diff --git a/app_petty_cash/windows/flutter/generated_plugins.cmake b/app_petty_cash/windows/flutter/generated_plugins.cmake index b93c4c3..0e69e40 100644 --- a/app_petty_cash/windows/flutter/generated_plugins.cmake +++ b/app_petty_cash/windows/flutter/generated_plugins.cmake @@ -3,6 +3,7 @@ # list(APPEND FLUTTER_PLUGIN_LIST + permission_handler_windows ) list(APPEND FLUTTER_FFI_PLUGIN_LIST