Open abinmittu opened 5 years ago
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 )
Thanks for the idea. I'm currently testing it to see how it works. I'll probably upload it this weekend
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: