コード例 #1
0
        public bool Equals(ToggleButtonsThemeData other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(textStyle.Equals(other.textStyle) &&
                   constraints.Equals(other.constraints) &&
                   color.Equals(other.color) &&
                   selectedColor.Equals(other.selectedColor) &&
                   disabledColor.Equals(other.disabledColor) &&
                   fillColor.Equals(other.fillColor) &&
                   focusColor.Equals(other.focusColor) &&
                   highlightColor.Equals(other.highlightColor) &&
                   hoverColor.Equals(other.hoverColor) &&
                   splashColor.Equals(other.splashColor) &&
                   borderColor.Equals(other.borderColor) &&
                   selectedBorderColor.Equals(other.selectedBorderColor) &&
                   disabledBorderColor.Equals(other.disabledBorderColor) &&
                   borderRadius.Equals(other.borderRadius) &&
                   borderWidth.Equals(other.borderWidth));
        }