Skip to content

It's hard to use custom icons #3199

@vlidholt

Description

@vlidholt

Many, if not most, apps are likely to require custom icons. While it's simple enough to draw an image, some components (e.g. the IconButton) asks for an IconData and not a Widget.

I propose adding an extra, optional field to the IconData that specifies the font to use when drawing the icon. This would make it easy for developers to create a custom icon font and use custom icons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions