Used for equality check, see EquatableMixin.
EquatableMixin
@override List<Object?> get props => [ show, fromY, toY, color, gradient, ];