FlexTableSorter typedef

FlexTableSorter = int Function(bool ascending, String a, String b)

A type definition for a function that can perform value sorting. The returned value must be 0 if the values are considered equal, <0 if the a value is less than the b value and >0 if the a value is greater than the b value.

Implementation

typedef FlexTableSorter = int Function(bool ascending, String a, String b);