我发现flutter
中没有表面容器颜色
ColorScheme.fromSeed({
// ...
Color? background, // In m3, we should use surface as background color
Color? surface,
Color? surfaceVariant,// And use surface container color as the color for a contained area against the surface color
})
1条答案
按热度按时间70gysomp1#
目前它是失踪,这里是一个问题,为Flutter团队添加支持它。
https://github.com/flutter/flutter/issues/115912
您可以随意对它进行投票,以提高该问题的优先级