tane/apps/app_seeds/pubspec.yaml
vjrj 48e9d15772 feat(ui): align inventory + detail with mockups (seed icons, green theme)
Visual pass toward docs/mockups (06 inventory, 07 item):
- Bundle the seedks icon font (chars a–k → seed pictograms: jar, packet, spoon…)
  and a SeedGlyph/QuantityKindIcon helper.
- Green app bar + pale-green canvas theme (buildTaneTheme).
- Inventory list: rounded-square photo thumbnail or green initial avatar, bold
  title, scientific-name subtitle, trailing edit pencil, styled category
  headers, rounded search field, seed-glyph empty state.
- Quantity selectors (quick-add + add-lot) show the seed pictogram + word;
  detail lot lines use the kind's glyph.
- Detail header restyled to mockup 07: category link + scientific name on the
  left, photo on the right.

watchInventory now also returns the linked species' scientific name (subtitle).
37 app tests green; seedks font verified in the Linux asset bundle.
2026-07-08 00:14:43 +02:00

73 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: tane
description: "Tanemaki — local-first, encrypted, decentralized traditional-seed inventory."
publish_to: 'none'
version: 0.1.0+1
environment:
sdk: ^3.11.5
resolution: workspace
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
commons_core:
path: ../../packages/commons_core
# State management (Cubit-first). Drift streams are the source of truth.
flutter_bloc: ^9.1.1
equatable: ^2.0.5
# Stream combinators (StreamGroup) for reactive multi-table reads.
async: ^2.11.0
# Encrypted local database. NOTE: do NOT add sqlite3_flutter_libs / drift_flutter
# — their bundled plain SQLite collides (same symbols) with SQLCipher and
# segfaults on desktop. SQLCipher is the only native sqlite provider here.
drift: ^2.28.0
sqlite3: ^2.7.5
sqlcipher_flutter_libs: ^0.6.5
# Dependency injection composition root.
get_it: ^8.0.3
# i18n (Weblate-friendly JSON per locale).
slang: ^4.7.0
slang_flutter: ^4.7.0
# Secure key storage (OS keystore).
flutter_secure_storage: ^9.2.4
# Routing + media + paths.
go_router: ^14.6.2
image_picker: ^1.1.2
path: ^1.9.0
path_provider: ^2.1.5
cupertino_icons: ^1.0.8
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.4.13
drift_dev: ^2.28.0
slang_build_runner: ^4.7.0
mocktail: ^1.0.4
flutter:
uses-material-design: true
# Seed strings for slang live under lib/i18n (not a Flutter asset; compiled).
assets:
- assets/catalog/species.json
fonts:
# Custom seed-themed icon glyphs (chars ak). See docs/mockups/seedks-glyphs.png.
- family: seedks
fonts:
- asset: fonts/seedks.ttf