operator == method

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

Override for equality operator.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other.runtimeType != runtimeType) return false;
  return other is FlexSubThemesData &&
      other.interactionEffects == interactionEffects &&
      other.tintedDisabledControls == tintedDisabledControls &&
      other.blendOnLevel == blendOnLevel &&
      other.blendOnColors == blendOnColors &&
      other.useFlutterDefaults == useFlutterDefaults &&
      //
      other.adaptiveRemoveElevationTint == adaptiveRemoveElevationTint &&
      other.adaptiveElevationShadowsBack == adaptiveElevationShadowsBack &&
      other.adaptiveAppBarScrollUnderOff == adaptiveAppBarScrollUnderOff &&
      other.adaptiveRadius == adaptiveRadius &&
      //
      other.adaptiveSplash == adaptiveSplash &&
      other.splashType == splashType &&
      other.splashTypeAdaptive == splashTypeAdaptive &&
      //
      other.blendTextTheme == blendTextTheme &&
      other.useTextTheme == useTextTheme &&
      other.useM2StyleDividerInM3 == useM2StyleDividerInM3 &&
      //
      other.defaultRadius == defaultRadius &&
      other.defaultRadiusAdaptive == defaultRadiusAdaptive &&
      other.buttonMinSize == buttonMinSize &&
      other.alignedDropdown == alignedDropdown &&
      other.buttonPadding == buttonPadding &&
      //
      other.thickBorderWidth == thickBorderWidth &&
      other.thinBorderWidth == thinBorderWidth &&
      //
      other.textButtonRadius == textButtonRadius &&
      other.textButtonSchemeColor == textButtonSchemeColor &&
      other.textButtonTextStyle == textButtonTextStyle &&
      //
      other.filledButtonRadius == filledButtonRadius &&
      other.filledButtonSchemeColor == filledButtonSchemeColor &&
      other.filledButtonTextStyle == filledButtonTextStyle &&
      //
      // TODO(rydmike): Hold https://github.com/flutter/flutter/issues/115827
      // other.filledButtonTonalRadius == filledButtonTonalRadius &&
      // other.filledButtonTonalSchemeColor == filledButtonTonalSchemeColor &&
      // other.filledButtonTonalTextStyle == filledButtonTonalTextStyle &&
      //
      other.elevatedButtonRadius == elevatedButtonRadius &&
      other.elevatedButtonElevation == elevatedButtonElevation &&
      other.elevatedButtonSchemeColor == elevatedButtonSchemeColor &&
      other.elevatedButtonSecondarySchemeColor ==
          elevatedButtonSecondarySchemeColor &&
      other.elevatedButtonTextStyle == elevatedButtonTextStyle &&
      //
      other.outlinedButtonRadius == outlinedButtonRadius &&
      other.outlinedButtonSchemeColor == outlinedButtonSchemeColor &&
      other.outlinedButtonOutlineSchemeColor ==
          outlinedButtonOutlineSchemeColor &&
      other.outlinedButtonBorderWidth == outlinedButtonBorderWidth &&
      other.outlinedButtonPressedBorderWidth ==
          outlinedButtonPressedBorderWidth &&
      other.outlinedButtonTextStyle == outlinedButtonTextStyle &&
      //
      other.toggleButtonsRadius == toggleButtonsRadius &&
      other.toggleButtonsSchemeColor == toggleButtonsSchemeColor &&
      other.toggleButtonsUnselectedSchemeColor ==
          toggleButtonsUnselectedSchemeColor &&
      other.toggleButtonsBorderSchemeColor ==
          toggleButtonsBorderSchemeColor &&
      other.toggleButtonsBorderWidth == toggleButtonsBorderWidth &&
      //
      other.segmentedButtonRadius == segmentedButtonRadius &&
      other.segmentedButtonSchemeColor == segmentedButtonSchemeColor &&
      other.segmentedButtonUnselectedSchemeColor ==
          segmentedButtonUnselectedSchemeColor &&
      other.segmentedButtonUnselectedForegroundSchemeColor ==
          segmentedButtonUnselectedForegroundSchemeColor &&
      other.segmentedButtonBorderSchemeColor ==
          segmentedButtonBorderSchemeColor &&
      other.segmentedButtonBorderWidth == segmentedButtonBorderWidth &&
      //
      other.materialButtonSchemeColor == materialButtonSchemeColor &&
      //
      other.switchSchemeColor == switchSchemeColor &&
      other.switchThumbSchemeColor == switchThumbSchemeColor &&
      other.switchThumbFixedSize == switchThumbFixedSize &&
      other.checkboxSchemeColor == checkboxSchemeColor &&
      other.radioSchemeColor == radioSchemeColor &&
      other.unselectedToggleIsColored == unselectedToggleIsColored &&
      //
      other.sliderBaseSchemeColor == sliderBaseSchemeColor &&
      other.sliderIndicatorSchemeColor == sliderIndicatorSchemeColor &&
      other.sliderValueTinted == sliderValueTinted &&
      other.sliderValueIndicatorType == sliderValueIndicatorType &&
      other.sliderShowValueIndicator == sliderShowValueIndicator &&
      other.sliderTrackHeight == sliderTrackHeight &&
      //
      other.inputDecoratorRadius == inputDecoratorRadius &&
      other.inputDecoratorSchemeColor == inputDecoratorSchemeColor &&
      other.inputDecoratorIsFilled == inputDecoratorIsFilled &&
      other.inputDecoratorFillColor == inputDecoratorFillColor &&
      other.inputDecoratorBackgroundAlpha == inputDecoratorBackgroundAlpha &&
      other.inputDecoratorBorderSchemeColor ==
          inputDecoratorBorderSchemeColor &&
      other.inputDecoratorBorderType == inputDecoratorBorderType &&
      other.inputDecoratorFocusedHasBorder ==
          inputDecoratorFocusedHasBorder &&
      other.inputDecoratorUnfocusedHasBorder ==
          inputDecoratorUnfocusedHasBorder &&
      other.inputDecoratorUnfocusedBorderIsColored ==
          inputDecoratorUnfocusedBorderIsColored &&
      other.inputDecoratorBorderWidth == inputDecoratorBorderWidth &&
      other.inputDecoratorFocusedBorderWidth ==
          inputDecoratorFocusedBorderWidth &&
      other.inputDecoratorPrefixIconSchemeColor ==
          inputDecoratorPrefixIconSchemeColor &&
      //
      other.inputCursorSchemeColor == inputCursorSchemeColor &&
      other.inputSelectionSchemeColor == inputSelectionSchemeColor &&
      other.inputSelectionOpacity == inputSelectionOpacity &&
      other.inputSelectionHandleSchemeColor ==
          inputSelectionHandleSchemeColor &&
      //
      other.fabRadius == fabRadius &&
      other.fabUseShape == fabUseShape &&
      other.fabAlwaysCircular == fabAlwaysCircular &&
      other.fabSchemeColor == fabSchemeColor &&
      //
      other.chipRadius == chipRadius &&
      other.chipSchemeColor == chipSchemeColor &&
      other.chipSelectedSchemeColor == chipSelectedSchemeColor &&
      other.chipDeleteIconSchemeColor == chipDeleteIconSchemeColor &&
      //
      other.cardRadius == cardRadius &&
      other.cardElevation == cardElevation &&
      //
      other.popupMenuRadius == popupMenuRadius &&
      other.popupMenuElevation == popupMenuElevation &&
      other.popupMenuSchemeColor == popupMenuSchemeColor &&
      other.popupMenuOpacity == popupMenuOpacity &&
      //
      other.dropdownMenuTextStyle == dropdownMenuTextStyle &&
      //
      other.menuRadius == menuRadius &&
      other.menuElevation == menuElevation &&
      other.menuSchemeColor == menuSchemeColor &&
      other.menuOpacity == menuOpacity &&
      other.menuPadding == menuPadding &&
      //
      other.menuBarBackgroundSchemeColor == menuBarBackgroundSchemeColor &&
      other.menuBarRadius == menuBarRadius &&
      other.menuBarElevation == menuBarElevation &&
      other.menuBarShadowColor == menuBarShadowColor &&
      //
      other.menuItemBackgroundSchemeColor == menuItemBackgroundSchemeColor &&
      other.menuItemForegroundSchemeColor == menuItemForegroundSchemeColor &&
      other.menuIndicatorBackgroundSchemeColor ==
          menuIndicatorBackgroundSchemeColor &&
      other.menuIndicatorForegroundSchemeColor ==
          menuIndicatorForegroundSchemeColor &&
      other.menuIndicatorRadius == menuIndicatorRadius &&
      //
      other.tooltipRadius == tooltipRadius &&
      other.tooltipWaitDuration == tooltipWaitDuration &&
      other.tooltipShowDuration == tooltipShowDuration &&
      other.tooltipSchemeColor == tooltipSchemeColor &&
      other.tooltipOpacity == tooltipOpacity &&
      //
      other.adaptiveDialogRadius == adaptiveDialogRadius &&
      other.dialogRadius == dialogRadius &&
      other.dialogRadiusAdaptive == dialogRadiusAdaptive &&
      other.dialogElevation == dialogElevation &&
      other.dialogBackgroundSchemeColor == dialogBackgroundSchemeColor &&
      other.useInputDecoratorThemeInDialogs ==
          useInputDecoratorThemeInDialogs &&
      other.datePickerHeaderBackgroundSchemeColor ==
          datePickerHeaderBackgroundSchemeColor &&
      other.datePickerDialogRadius == datePickerDialogRadius &&
      other.timePickerDialogRadius == timePickerDialogRadius &&
      other.timePickerElementRadius == timePickerElementRadius &&
      //
      other.snackBarRadius == snackBarRadius &&
      other.snackBarElevation == snackBarElevation &&
      other.snackBarBackgroundSchemeColor == snackBarBackgroundSchemeColor &&
      other.snackBarActionSchemeColor == snackBarActionSchemeColor &&
      //
      other.appBarBackgroundSchemeColor == appBarBackgroundSchemeColor &&
      other.appBarCenterTitle == appBarCenterTitle &&
      other.appBarScrolledUnderElevation == appBarScrolledUnderElevation &&
      //
      other.bottomAppBarSchemeColor == bottomAppBarSchemeColor &&
      //
      other.tabBarItemSchemeColor == tabBarItemSchemeColor &&
      other.tabBarUnselectedItemSchemeColor ==
          tabBarUnselectedItemSchemeColor &&
      other.tabBarUnselectedItemOpacity == tabBarUnselectedItemOpacity &&
      other.tabBarIndicatorSchemeColor == tabBarIndicatorSchemeColor &&
      other.tabBarIndicatorSize == tabBarIndicatorSize &&
      other.tabBarIndicatorWeight == tabBarIndicatorWeight &&
      other.tabBarIndicatorTopRadius == tabBarIndicatorTopRadius &&
      other.tabBarDividerColor == tabBarDividerColor &&
      //
      other.drawerRadius == drawerRadius &&
      other.drawerElevation == drawerElevation &&
      other.drawerBackgroundSchemeColor == drawerBackgroundSchemeColor &&
      other.drawerWidth == drawerWidth &&
      other.drawerIndicatorWidth == drawerIndicatorWidth &&
      other.drawerIndicatorRadius == drawerIndicatorRadius &&
      other.drawerIndicatorSchemeColor == drawerIndicatorSchemeColor &&
      other.drawerIndicatorOpacity == drawerIndicatorOpacity &&
      other.drawerSelectedItemSchemeColor == drawerSelectedItemSchemeColor &&
      other.drawerUnselectedItemSchemeColor ==
          drawerUnselectedItemSchemeColor &&
      //
      other.bottomSheetBackgroundColor == bottomSheetBackgroundColor &&
      other.bottomSheetModalBackgroundColor ==
          bottomSheetModalBackgroundColor &&
      other.bottomSheetRadius == bottomSheetRadius &&
      other.bottomSheetElevation == bottomSheetElevation &&
      other.bottomSheetModalElevation == bottomSheetModalElevation &&
      //
      other.bottomNavigationBarLabelTextStyle ==
          bottomNavigationBarLabelTextStyle &&
      other.bottomNavigationBarSelectedLabelSize ==
          bottomNavigationBarSelectedLabelSize &&
      other.bottomNavigationBarUnselectedLabelSize ==
          bottomNavigationBarUnselectedLabelSize &&
      other.bottomNavigationBarSelectedLabelSchemeColor ==
          bottomNavigationBarSelectedLabelSchemeColor &&
      other.bottomNavigationBarUnselectedLabelSchemeColor ==
          bottomNavigationBarUnselectedLabelSchemeColor &&
      other.bottomNavigationBarMutedUnselectedLabel ==
          bottomNavigationBarMutedUnselectedLabel &&
      other.bottomNavigationBarSelectedIconSize ==
          bottomNavigationBarSelectedIconSize &&
      other.bottomNavigationBarUnselectedIconSize ==
          bottomNavigationBarUnselectedIconSize &&
      other.bottomNavigationBarSelectedIconSchemeColor ==
          bottomNavigationBarSelectedIconSchemeColor &&
      other.bottomNavigationBarUnselectedIconSchemeColor ==
          bottomNavigationBarUnselectedIconSchemeColor &&
      other.bottomNavigationBarMutedUnselectedIcon ==
          bottomNavigationBarMutedUnselectedIcon &&
      other.bottomNavigationBarBackgroundSchemeColor ==
          bottomNavigationBarBackgroundSchemeColor &&
      other.bottomNavigationBarOpacity == bottomNavigationBarOpacity &&
      other.bottomNavigationBarElevation == bottomNavigationBarElevation &&
      other.bottomNavigationBarShowSelectedLabels ==
          bottomNavigationBarShowSelectedLabels &&
      other.bottomNavigationBarShowUnselectedLabels ==
          bottomNavigationBarShowUnselectedLabels &&
      other.bottomNavigationBarType == bottomNavigationBarType &&
      other.bottomNavigationBarLandscapeLayout ==
          bottomNavigationBarLandscapeLayout &&
      //
      other.navigationBarLabelTextStyle == navigationBarLabelTextStyle &&
      other.navigationBarSelectedLabelSize ==
          navigationBarSelectedLabelSize &&
      other.navigationBarUnselectedLabelSize ==
          navigationBarUnselectedLabelSize &&
      other.navigationBarSelectedLabelSchemeColor ==
          navigationBarSelectedLabelSchemeColor &&
      other.navigationBarUnselectedLabelSchemeColor ==
          navigationBarUnselectedLabelSchemeColor &&
      other.navigationBarMutedUnselectedLabel ==
          navigationBarMutedUnselectedLabel &&
      other.navigationBarSelectedIconSize == navigationBarSelectedIconSize &&
      other.navigationBarUnselectedIconSize ==
          navigationBarUnselectedIconSize &&
      other.navigationBarSelectedIconSchemeColor ==
          navigationBarSelectedIconSchemeColor &&
      other.navigationBarUnselectedIconSchemeColor ==
          navigationBarUnselectedIconSchemeColor &&
      other.navigationBarMutedUnselectedIcon ==
          navigationBarMutedUnselectedIcon &&
      other.navigationBarIndicatorSchemeColor ==
          navigationBarIndicatorSchemeColor &&
      other.navigationBarIndicatorOpacity == navigationBarIndicatorOpacity &&
      other.navigationBarIndicatorRadius == navigationBarIndicatorRadius &&
      other.navigationBarBackgroundSchemeColor ==
          navigationBarBackgroundSchemeColor &&
      other.navigationBarOpacity == navigationBarOpacity &&
      other.navigationBarElevation == navigationBarElevation &&
      other.navigationBarHeight == navigationBarHeight &&
      other.navigationBarLabelBehavior == navigationBarLabelBehavior &&
      other.adaptiveRemoveNavigationBarTint ==
          adaptiveRemoveNavigationBarTint &&
      //
      other.navigationRailLabelTextStyle == navigationRailLabelTextStyle &&
      other.navigationRailSelectedLabelSize ==
          navigationRailSelectedLabelSize &&
      other.navigationRailUnselectedLabelSize ==
          navigationRailUnselectedLabelSize &&
      other.navigationRailSelectedLabelSchemeColor ==
          navigationRailSelectedLabelSchemeColor &&
      other.navigationRailUnselectedLabelSchemeColor ==
          navigationRailUnselectedLabelSchemeColor &&
      other.navigationRailMutedUnselectedLabel ==
          navigationRailMutedUnselectedLabel &&
      other.navigationRailSelectedIconSize ==
          navigationRailSelectedIconSize &&
      other.navigationRailUnselectedIconSize ==
          navigationRailUnselectedIconSize &&
      other.navigationRailSelectedIconSchemeColor ==
          navigationRailSelectedIconSchemeColor &&
      other.navigationRailUnselectedIconSchemeColor ==
          navigationRailUnselectedIconSchemeColor &&
      other.navigationRailMutedUnselectedIcon ==
          navigationRailMutedUnselectedIcon &&
      other.navigationRailUseIndicator == navigationRailUseIndicator &&
      other.navigationRailIndicatorSchemeColor ==
          navigationRailIndicatorSchemeColor &&
      other.navigationRailIndicatorOpacity ==
          navigationRailIndicatorOpacity &&
      other.navigationRailIndicatorRadius == navigationRailIndicatorRadius &&
      other.navigationRailBackgroundSchemeColor ==
          navigationRailBackgroundSchemeColor &&
      other.navigationRailOpacity == navigationRailOpacity &&
      other.navigationRailElevation == navigationRailElevation &&
      other.navigationRailLabelType == navigationRailLabelType &&
      other.navigationRailGroupAlignment == navigationRailGroupAlignment;
}