79745124

Date: 2025-08-24 19:22:35
Score: 1
Natty:
Report link

Doesn't work for me as well.
I ended up reading my color value directly in widget's build() method:

...
iconTheme: IconThemeData(
    color: Colors.white,
),
...
Color? _foregroundColor(BuildContext context) {
    final theme = Theme.of(context);
    return theme.iconTheme.color, // white color
}
Reasons:
  • RegEx Blacklisted phrase (2): Doesn't work for me
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Nik