Skip to content

Icon widget (or a new widget) should support giving an icon from another font #4494

Closed

Description

@Hixie

Right now we only support the Material Icons font's icons, which is limiting.

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    on Jun 9, 2016
  2. added this to the milestone on Jun 9, 2016
  3. Hixie commented on Jun 9, 2016

    @Hixie
    ContributorAuthor

    Maybe they should take a Widget instead of an IconData, and we should make the Icon constructor have the material icons font icon as a positional argument, and we should make the places that current create the Icon to put in instead create an IconTheme to put in.

    Then you could either pass an Icon, or an Image, or whatever.

  4. Hixie commented on Jun 9, 2016

    @Hixie
    ContributorAuthor

    We'd probably need to make that an IconImage widget, so that it can take the IconTheme and apply it to the image it wants to show.

  5. self-assigned this
    on Jun 21, 2016
  6. Hixie commented on Jun 22, 2016

    @Hixie
    ContributorAuthor

    I fixed the image part of this. Still need to support using another font.

    Maybe IconData should have a font-family field?

  7. removed their assignment
    on Jun 22, 2016
  8. changed the title [-]Widgets that take icons should have an affordance for giving an Image or an icon from another font[/-] [+]Icon widget (or a new widget) should support giving an icon from another font[/+] on Jan 30, 2017
  9. modified the milestones: , on Jan 30, 2017
  10. added a commit that references this issue on Mar 18, 2017
    0e58913
  11. added a commit that references this issue on Mar 18, 2017
    c95e734
  12. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions