ChildIndexGetter typedef Null safety
Called to find the new index of a child based on its key
in case of
reordering.
If the child with the key
is no longer present, null is returned.
Implementation
typedef ChildIndexGetter = int? Function(Key key);