hashCode property

  1. @override
int hashCode
override

Hashcode override for the FlexColorScheme object.

Using Jenkins list hashCode algorithm used by ThemeData in Flutter SDK.

Implementation

@override
int get hashCode {
  final List<Object?> values = <Object?>[
    colorScheme,
    brightness,
    primary,
    primaryVariant,
    secondary,
    secondaryVariant,
    surface,
    background,
    error,
    scaffoldBackground,
    appBarBackground,
    dialogBackground,
    onPrimary,
    onSecondary,
    onSurface,
    onBackground,
    onError,
    tabBarStyle,
    appBarElevation,
    bottomAppBarElevation,
    tooltipsMatchBackground,
    transparentStatusBar,
    visualDensity,
    textTheme,
    primaryTextTheme,
    fontFamily,
    platform,
    typography,
    applyElevationOverlayColor,
    useSubThemes,
    subThemesData,
  ];
  return hashList(values);
}