flutter_fab_dialer icon indicating copy to clipboard operation
flutter_fab_dialer copied to clipboard

Allow styling of the chip text

Open abinmittu opened this issue 6 years ago • 1 comments

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
    )

abinmittu avatar Nov 12 '18 02:11 abinmittu

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

Leondev7 avatar Mar 04 '19 15:03 Leondev7