Description
After upgrading to the latest Flutter version (Flutter 3.x / Master Channel), the icons from flutter_boxicons are failing to render and appear as squares ("tofu") or replacement characters.
Environment
- Flutter version: 3.38 (Master/Dev Channel) / 3.27+
- Package version:
flutter_boxicons: ^3.2.0
- Platform: [Android / iOS] (Specify if it happens on one or both)
Steps to Reproduce
- Add
flutter_boxicons: ^3.2.0 to pubspec.yaml.
- Run the app on the latest Flutter SDK using Impeller (default).
- Use any icon, e.g.,
Icon(Boxicons.bx_home).
Expected Behavior
The icon should render correctly.
Actual Behavior
The icon renders as a square box (☒ or empty box), indicating the font file is not being loaded or recognized by the engine.
What I've Tried
- Ran
flutter clean and flutter pub get.
- Verified
pubspec.yaml indentation.
- The issue persists only with this package (Material icons work fine).
Suspected Cause
It seems related to the compatibility with the new Flutter asset loading system or the Impeller rendering engine, as the font file might not be linking correctly in the build process for newer SDKs.
Description
After upgrading to the latest Flutter version (Flutter 3.x / Master Channel), the icons from
flutter_boxiconsare failing to render and appear as squares ("tofu") or replacement characters.Environment
flutter_boxicons: ^3.2.0Steps to Reproduce
flutter_boxicons: ^3.2.0topubspec.yaml.Icon(Boxicons.bx_home).Expected Behavior
The icon should render correctly.
Actual Behavior
The icon renders as a square box (☒ or empty box), indicating the font file is not being loaded or recognized by the engine.
What I've Tried
flutter cleanandflutter pub get.pubspec.yamlindentation.Suspected Cause
It seems related to the compatibility with the new Flutter asset loading system or the Impeller rendering engine, as the font file might not be linking correctly in the build process for newer SDKs.