Skip to content

[REQUEST] Customization of text color #44

@fior-di-latte

Description

@fior-di-latte

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!

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