Skip to content

[Bug]: Icons rendering as squares (Tofu) on Flutter 3.38 / Master Channel #23

@uic2026

Description

@uic2026

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

  1. Add flutter_boxicons: ^3.2.0 to pubspec.yaml.
  2. Run the app on the latest Flutter SDK using Impeller (default).
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions