Seems like the app uses a different styling property compared to the default theme of the app, which results in a different overscroll glow color compared to the rest of the app.
When looking into the
ThemeData class of Flutter, the following explanation can be found for the accent color:
/// The foreground color for widgets (knobs, text, overscroll edge effect, etc). /// /// Accent color is also known as the secondary color. /// /// The theme's [colorScheme] property contains [ColorScheme.secondary], as /// well as a color that contrasts well with the secondary color called /// [ColorScheme.onSecondary]. It might be simpler to just configure an app's /// visuals in terms of the theme's [colorScheme]. final Color accentColor;
The [accentColor], sometimes called the secondary color, and, /// if the accent color is specified, its brightness /// ([accentColorBrightness]), so that the right contrasting text /// color will be used over the accent color.
However, setting the secondary color using the following code, doesn’t change the color of the overscroll effect.
colorScheme: Theme.of(context).brightness == Brightness.light ? ColorScheme.light( primary: Colors.blue.shade50, onPrimary: Colors.grey.shade900, secondary: Theme.of(context).accentColor, onSecondary: Theme.of(context).accentColor, background: Colors.transparent, onBackground: Colors.black) : ColorScheme.dark( primary: Colors.white, onPrimary: Colors.white, secondary: Theme.of(context).accentColor, onSecondary: Theme.of(context).accentColor, background: Colors.transparent, onBackground: Colors.white70),
PS: I’m sorry to bother you with such a nitty pitty issue, but I’m too perfectionistic, sorry 😅