operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Equality operator override for the FlexColorScheme object.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other.runtimeType != runtimeType) return false;
  return other is FlexColorScheme &&
      other.colorScheme == colorScheme &&
      other.brightness == brightness &&
      other.primary == primary &&
      other.primaryVariant == primaryVariant &&
      other.secondary == secondary &&
      other.secondaryVariant == secondaryVariant &&
      other.surface == surface &&
      other.background == background &&
      other.error == error &&
      other.scaffoldBackground == scaffoldBackground &&
      other.appBarBackground == appBarBackground &&
      other.dialogBackground == dialogBackground &&
      other.onPrimary == onPrimary &&
      other.onSecondary == onSecondary &&
      other.onSurface == onSurface &&
      other.onBackground == onBackground &&
      other.onError == onError &&
      other.tabBarStyle == tabBarStyle &&
      other.appBarElevation == appBarElevation &&
      other.bottomAppBarElevation == bottomAppBarElevation &&
      other.tooltipsMatchBackground == tooltipsMatchBackground &&
      other.transparentStatusBar == transparentStatusBar &&
      other.visualDensity == visualDensity &&
      other.textTheme == textTheme &&
      other.primaryTextTheme == primaryTextTheme &&
      other.fontFamily == fontFamily &&
      other.platform == platform &&
      other.typography == typography &&
      other.applyElevationOverlayColor == applyElevationOverlayColor &&
      other.useSubThemes == useSubThemes &&
      other.subThemesData == subThemesData;
}