Skip to content

fix: a warning is displayed when using uses-material-design: false #159

@jokigenki

Description

@jokigenki

Is there an existing issue for this?

  • I have searched the existing issues.

Version

0.12.1

Description

When using alchemist in an app that does not specify uses-material-design: true (either by removing it, or by explicitly setting it to false), the following error is displayed:

package:alchemist has `uses-material-design: true` set but the primary pubspec contains `uses-material-design: false`. If the application needs material icons, then `uses-material-design`  must be set to true.

Steps to reproduce

  1. Create a blank app and remove the line uses-material-design: true from the pubspec.
  2. Import alchemist.
  3. Run the app.

Expected behavior

This error should not appear.

Screenshots

No response

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions