flutter_material_pickers
flutter_material_pickers copied to clipboard
[REQUEST] Customization of text color
Hi, thanks for the awesome package. It would be awesome if the text color within the dialog could be configured with an optional argument like most of the rest of the colors.
Changing the bodyText2 in the theme is not always appropriate for the entire app.
[As for me, it the background Color is white and the bodyText2 color is white, too. But in use, text is always placed in Containers that are blue.]
showMaterialResponsiveDialog(
context: context,
headerColor: Colors.green, // background color of the header area
headerTextColor: Colors.white, // text fcolor of the header
backgroundColor: Colors.lightGreen, // background color of the entire dialog
buttonTextColor: Colors.red, // text color of the action bar buttons
// add this: itemTextColor: Colors.black,
child: Text('Custom dialog colors'),
);
Have a wonderful week everyone!