props property

  1. @override
List<Object?> get props

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<Object?> get props => [
      color,
      borderRadius,
      shadow,
      buttonPressedTint,
      buttonHoveredTint,
      buttonPressedOffset,
      separatorColor,
      separatorWidth,
      disabledButtonIconTheme,
      pressedButtonIconTheme,
      iconTheme,
      disabledButtonTextStyle,
      pressedButtonTextStyle,
      textStyle,
      boxBorder,
    ];