Add cupertino_icons dependency

navigation.dart imports package:flutter/cupertino.dart for
CupertinoPageTransition, which made the asset bundler warn that the
CupertinoIcons font was expected but missing. Declaring cupertino_icons
provides the font and clears the warning; it tree-shakes away in release
builds since no Cupertino icons are actually rendered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
rzuasti
2026-06-15 14:46:10 -04:00
co-authored by Claude Opus 4.8
parent 11a964bd37
commit c43c8f27a0
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ dependencies:
firebase_core: ^3.8.0
firebase_messaging: ^15.1.6
flutter_local_notifications: ^18.0.1
# Used via package:flutter/cupertino.dart (CupertinoPageTransition); also
# provides the CupertinoIcons font the asset bundler expects to be present.
cupertino_icons: ^1.0.8
dev_dependencies:
flutter_test: