Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VxDialog: confirmTextColor, cancelTextColor are ignored #165

Closed
btraas opened this issue Nov 18, 2022 · 0 comments
Closed

VxDialog: confirmTextColor, cancelTextColor are ignored #165

btraas opened this issue Nov 18, 2022 · 0 comments

Comments

@btraas
Copy link

btraas commented Nov 18, 2022

Describe the bug

Function parameters "confirmTextColor" and "cancelTextColor" for VxDialog.showAlert(), VxDialog.showConfirmation(), and VxDialog.showTicker() are unused and don't work as expected.

To Reproduce

Use VxDialog.showConfirmation() with confirmTextColor:

VxDialog.showConfirmation(context,
        title: "Commit changes?",
        content: "Are you sure?",
        onConfirmPress: (){},
        cancelBgColor: Colors.white,
        confirmBgColor: Colors.lightBlue,
        confirmTextColor: Colors.white
    );

Expected behavior
White text on buttons with confirmTextColor: Colors.white

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants