name: nuvolari description: "Precipitation radar for Piedmont, Italy." publish_to: 'none' version: 0.1.0+1 environment: sdk: ^3.13.3 dependencies: dio: ^5.11.1 flutter: sdk: flutter flutter_localizations: sdk: flutter # State management. Riverpod is used without code generation on purpose — # see docs/stack-decisions.md. flutter_riverpod: ^3.4.3 # Date and number formatting for the Italian locale. geolocator: ^14.0.3 intl: ^0.20.3 # Native GPU-composited map. Radar animation redraws a full-viewport image # several times a second, which a Dart-side tile renderer cannot keep up with. maplibre_gl: ^0.27.1 # Opens attribution and official-bulletin links in the browser. shared_preferences: ^2.5.5 url_launcher: ^6.3.2 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^6.0.0 # Fans the two generated sources out to every Android density, the adaptive # icon and the iOS set. Build-time only: it writes files into android/ and # ios/, which are committed, so nothing here ships in the app. flutter_launcher_icons: ^0.14.4 flutter: uses-material-design: true # Generates AppLocalizations from lib/l10n/*.arb, configured in l10n.yaml. generate: true assets: - assets/regions/ # Demo radar frames, generated by tool/generate_mock_frames.py. They make # the app runnable offline with no credentials. - assets/mock/ - assets/mock/frames/ # Launcher icon, generated from the sources that tool/generate_icon.py draws. # Re-run after changing them: # # python ../tool/generate_icon.py # dart run flutter_launcher_icons flutter_launcher_icons: android: true ios: true image_path: assets/icon/icon.png # Adaptive icon: the launcher masks the foreground to its own shape, so the # cloud is drawn inside the safe zone and the app blue fills whatever the mask # leaves. Kept identical to ColorScheme.fromSeed in lib/main.dart. adaptive_icon_background: "#1F6FB2" adaptive_icon_foreground: assets/icon/icon_foreground.png # The generator already frames the cloud inside the 72dp safe zone. Left at # its default of 16, this would shrink the layer again and the icon would read # noticeably smaller than every other one on the home screen. adaptive_icon_foreground_inset: 0 # Android 13 themed icons tint the alpha of this layer with the user's # wallpaper palette. The foreground is a flat white silhouette, so its alpha # is already exactly the cloud. adaptive_icon_monochrome: assets/icon/icon_foreground.png # iOS rejects an alpha channel in app icons. The source is opaque anyway; # this drops the channel itself. remove_alpha_ios: true