props property

  1. @override
List<Object?> props

Returns a list of the object's properties, which is used to compare instances of the class for equality.

Implementation

@override
List<Object?> get props => [
      trailing,
      isDense,
      leading,
      padding,
      selectionLabelColor,
      selectionColor,
    ];