Skip to content

Allow styling of the chip text #14

@abinmittu

Description

@abinmittu

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
    )

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