Allow styling of the chip text
Opened this issue · 1 comments
abinmittu commented
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 commented
Thanks for the idea. I'm currently testing it to see how it works. I'll probably upload it this weekend