Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow styling of the chip text #14

Open
abinmittu opened this issue Nov 12, 2018 · 1 comment
Open

Allow styling of the chip text #14

abinmittu opened this issue Nov 12, 2018 · 1 comment

Comments

@abinmittu
Copy link

Now by default the chip text has properties like fontWeight bold. Instead of accepting plain string as "text" property, if it was a Text widget, user could have easily customized the chip text for their needs.

Something like this:

FabMiniMenuItem.withText(
        Icon(Icons.photo_camera),
        Colors.blue,
        4.0,
        Text("Add Photo", style: TextStyle(fontSize: 12.0, fontWeight: FontWeight.w400),)
        _addPhoto,
        "Add Photo",
        Colors.blue,
        Colors.white,
        true
    )
@Leondev7
Copy link
Owner

Leondev7 commented Mar 4, 2019

Thanks for the idea. I'm currently testing it to see how it works. I'll probably upload it this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants