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

feat: allow coloring image menu #1014

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saif-ellafi
Copy link
Contributor

@saif-ellafi saif-ellafi commented Jan 7, 2025

Dear all,

Allowing to color the image uploader widget using default widget

    style: SelectionMenuStyle(
      selectionMenuBackgroundColor: MyColors.gameTheme.backgroundColor,
      selectionMenuItemTextColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuItemIconColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuItemSelectedTextColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuItemSelectedIconColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuItemSelectedColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuUnselectedLabelColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuDividerColor: MyColors.gameTheme.borderColor,
      selectionMenuLinkBorderColor: MyColors.gameTheme.borderColor,
      selectionMenuInvalidLinkColor: Colors.red,
      selectionMenuButtonColor: MyColors.gameTheme.primaryTextStyle.color,
      selectionMenuButtonBorderColor: MyColors.gameTheme.tertiaryTextStyle.color,
      selectionMenuButtonIconColor: MyColors.gameTheme.tertiaryTextStyle.color,
      selectionMenuButtonTextColor: MyColors.gameTheme.tertiaryTextStyle.color,
      selectionMenuTabIndicatorColor: MyColors.gameTheme.tertiaryTextStyle.color,
    )

image

Feedback welcome
Best regards,

@saif-ellafi
Copy link
Contributor Author

Any help welcome with the test systems.

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

Successfully merging this pull request may close these issues.

1 participant