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

Flutter - surfaceTint missing from toColorScheme #331

Open
kvanry opened this issue Jul 18, 2024 · 0 comments
Open

Flutter - surfaceTint missing from toColorScheme #331

kvanry opened this issue Jul 18, 2024 · 0 comments

Comments

@kvanry
Copy link

kvanry commented Jul 18, 2024

Describe the bug
A clear and concise description of what the bug is.

extension MaterialSchemeUtils on MaterialScheme {
  ColorScheme toColorScheme() {
    return ColorScheme(
      ...
      // Missing surfaceTint: surfaceTint,
      ...
    )
  }
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to Export->Flutter (Dart)
  2. Go to put generated code in app
  3. Missing the above.

Expected behavior
A clear and concise description of what you expected to happen.

surfaceTint to be applied to the ColorScheme

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac
  • Browser Chrome
  • Version 2.0.1

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant