operator == method

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

按背景和文字比较。

Implementation

@override
bool operator ==(Object other) =>
    other is WheelStyle &&
    other.background == background &&
    other.text == text;