macos_ui
macos_ui copied to clipboard
ProgressCircle color does not follow MacosTheme
Description
ProgressCircle is not visible when using light theme
Steps To Reproduce
- Specify MacosApp(themeMode: ThemeMode.light)
- Create simple ProgressCircle() without value.
Expected behavior
class ProgressCircle extends StatelessWidget {
...
@override
Widget build(BuildContext context) {
if (isDeterminate) {
...
} else {
return Semantics(
label: semanticLabel,
child: c.CupertinoActivityIndicator(
radius: radius,
color: MacosTheme.of(context).primaryColor, // should use primary color or color specified in parameters
),
);
}
}
Not sure about primaryColor, maybe it should be same as other icons color.
This might be related (assuming the issue only persists when the light theme is set explicitly): https://github.com/macosui/macos_ui/issues/552
I am observing the same. Even though PR #552 is already closed, this behaviour is still observable. E.g.: