compareFn property

bool Function(T a, T b)? compareFn
final

A custom function to determine if two items are equal.

Used to highlight the currently selected item in the list. If null, default equality == is used.

Implementation

final bool Function(T a, T b)? compareFn;