-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
119 lines (105 loc) · 3.62 KB
/
Copy pathpubspec.yaml
File metadata and controls
119 lines (105 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
name: lacrypta_ticketing
description: "La Crypta ticketing — door check-in, gifts and receipt printing."
publish_to: "none"
version: 0.1.0+1
environment:
sdk: ">=3.12.0 <4.0.0"
flutter: ">=3.29.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# State + routing
flutter_riverpod: ^3.4.1
go_router: ^17.3.0
# Networking
dio: ^5.10.0
connectivity_plus: ^7.3.1
# Nostr / NIP-98. No relay pool: we only sign HTTP auth, never publish.
bip340: ^0.3.1
crypto: ^3.0.6
pointycastle: ^4.0.0
bech32: ^0.2.2
convert: ^3.1.2
# Persistence
drift: ^2.34.2
# sqlite3 v3 bundles the native library itself. Its predecessor
# sqlite3_flutter_libs is EOL ("update to version 3.x of package:sqlite3").
# Pinned explicitly so we never fall back to the OS-provided SQLite.
sqlite3: ^3.4.0
path_provider: ^2.1.5
path: ^1.9.1
flutter_secure_storage: ^10.3.1
shared_preferences: ^2.5.5 # non-secret settings ONLY
# Scanning + NFC
mobile_scanner: ^7.4.0
nfc_manager: ^4.2.1
nfc_manager_ndef: ^1.1.0
# Printing. The ZCS path is a platform channel — no package.
print_bluetooth_thermal: ^1.2.2
esc_pos_utils_plus: ^2.0.4
image: ^4.9.1 # logo raster for ESC/POS
permission_handler: ^12.0.3 # Android 12+ BLUETOOTH_SCAN/CONNECT
# UI / utils
lucide_icons_flutter: ^3.1.15
qr_flutter: ^4.1.0 # device npub QR in Settings
intl: ^0.20.2
uuid: ^4.5.3
package_info_plus: ^10.1.0
wakelock_plus: ^1.7.0 # screen stays on at the door
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.4.13
# Pinned EXACTLY, not with a caret. drift_dev >=2.34.1+1 requires
# analyzer ^13.0.0, which cannot co-resolve with the analyzer that
# flutter_riverpod 3.4.1 -> riverpod -> test drags in. 2.34.0 is the last
# version that resolves. Re-check on the next riverpod or drift bump.
drift_dev: 2.34.0
mocktail: ^1.0.4
flutter_launcher_icons: ^0.14.4
# App icon. Sources are generated from the isotype vector by
# `python3 tool/generate_icon.py` — see that script for why we rasterise rather
# than upscale the 112px favicon. Regenerate the platform assets with:
#
# dart run flutter_launcher_icons
flutter_launcher_icons:
android: true
ios: true
remove_alpha_ios: true # the App Store rejects icons with an alpha channel
image_path: assets/icon/icon.png
# Android 8+ adaptive icon: the system crops to a shape, so the mark is drawn
# smaller on its own layer and the background is a flat brand colour.
adaptive_icon_background: "#101010"
adaptive_icon_foreground: assets/icon/icon_foreground.png
# Monochrome (themed icons, Android 13+) reuses the same silhouette.
adaptive_icon_monochrome: assets/icon/icon_foreground.png
flutter:
uses-material-design: true
assets:
- assets/logos/
- assets/images/
# Standerd is La Crypta's brand face (github.com/lacrypta/branding, MIT).
# Max real weight is 800 — the brand disables synthetic bold, so asking for
# w900 anywhere would smear. See lc_typography.dart.
fonts:
- family: Standerd
fonts:
- asset: assets/fonts/Standerd-Thin.ttf
weight: 100
- asset: assets/fonts/Standerd-ExtraLight.ttf
weight: 200
- asset: assets/fonts/Standerd-Light.ttf
weight: 300
- asset: assets/fonts/Standerd-Regular.ttf
weight: 400
- asset: assets/fonts/Standerd-Medium.ttf
weight: 500
- asset: assets/fonts/Standerd-SemiBold.ttf
weight: 600
- asset: assets/fonts/Standerd-Bold.ttf
weight: 700
- asset: assets/fonts/Standerd-ExtraBold.ttf
weight: 800