material-theme-builder
material-theme-builder copied to clipboard
Flutter - surfaceTint missing from `toColorScheme`
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:
- Go to Export->Flutter (Dart)
- Go to put generated code in app
- 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.