operator == method
Override the equality operator.
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.primaryContainer == primaryContainer &&
other.secondary == secondary &&
other.secondaryContainer == secondaryContainer &&
other.tertiary == tertiary &&
other.tertiaryContainer == tertiaryContainer &&
other.error == error &&
other.surface == surface &&
other.background == background &&
other.scaffoldBackground == scaffoldBackground &&
other.dialogBackground == dialogBackground &&
other.appBarBackground == appBarBackground &&
other.onPrimary == onPrimary &&
other.onPrimaryContainer == onPrimaryContainer &&
other.onSecondary == onSecondary &&
other.onSecondaryContainer == onSecondaryContainer &&
other.onTertiary == onTertiary &&
other.onTertiaryContainer == onTertiaryContainer &&
other.onSurface == onSurface &&
other.onBackground == onBackground &&
other.onError == onError &&
other.surfaceTint == surfaceTint &&
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.materialTapTargetSize == materialTapTargetSize &&
other.pageTransitionsTheme == pageTransitionsTheme &&
other.fontFamily == fontFamily &&
other.fontFamilyFallback == fontFamilyFallback &&
other.package == package &&
other.platform == platform &&
other.typography == typography &&
other.applyElevationOverlayColor == applyElevationOverlayColor &&
other.subThemesData == subThemesData &&
other.useMaterial3 == useMaterial3 &&
other.extensions == extensions;
}