the type def for morph comparitor is as follows typedef MorphComparator = bool Function(Widget a, Widget b);
this leave me unable to compare if the data the widget represet has chnaged.
would changing it to typedef MorphComparator = bool Function(dynamic a, dynamic b); work? that way i can type cast it to anything i need.
the type def for morph comparitor is as follows
typedef MorphComparator = bool Function(Widget a, Widget b);
this leave me unable to compare if the data the widget represet has chnaged.would changing it to
typedef MorphComparator = bool Function(dynamic a, dynamic b);
work? that way i can type cast it to anything i need.