The template counter test could never compile (no flutter_test dev dependency, no MyApp). Replace it with unit tests for formatMoney (INR byte-identical to the old formatter, AED, BHD) and currency parsing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
name: scalar_attendance
|
|
description: Scalar360 employee self-service — clock in/out, leave, payslips, approvals.
|
|
publish_to: "none"
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ">=3.0.0 <4.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
http: ^1.2.0
|
|
url_launcher: ^6.3.0
|
|
shared_preferences: ^2.2.0
|
|
# 2.5.x crashes at start on release builds with Flutter 3.44 (NoSuchMethodError via JNI); POS uses 2.4.27 fine
|
|
shared_preferences_android: 2.4.27
|
|
intl: ^0.19.0
|
|
geolocator: ^13.0.1
|
|
image_picker: ^1.1.2
|
|
cupertino_icons: ^1.0.6
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_launcher_icons: ^0.14.0
|
|
flutter_native_splash: ^2.4.0
|
|
flutter_lints: ^4.0.0
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: false
|
|
image_path: "assets/brand/scalar-mark.png"
|
|
adaptive_icon_background: "#FFFFFF"
|
|
adaptive_icon_foreground: "assets/brand/scalar-mark-maskable.png"
|
|
min_sdk_android: 21
|
|
|
|
flutter_native_splash:
|
|
color: "#FFFFFF"
|
|
image: assets/brand/scalar-mark.png
|
|
android_12:
|
|
color: "#FFFFFF"
|
|
image: assets/brand/scalar-mark-android12.png
|
|
icon_background_color: "#FFFFFF"
|
|
ios: false
|
|
web: false
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/brand/
|
|
fonts:
|
|
- family: Poppins
|
|
fonts:
|
|
- asset: assets/fonts/poppins/Poppins-Regular.ttf
|
|
- asset: assets/fonts/poppins/Poppins-Medium.ttf
|
|
weight: 500
|
|
- asset: assets/fonts/poppins/Poppins-SemiBold.ttf
|
|
weight: 600
|
|
- asset: assets/fonts/poppins/Poppins-Bold.ttf
|
|
weight: 700
|