OnItemTap typedef

dynamic OnItemTap ({BuildContext context, int tappedAt })

Implementation that must be provided by the user, for what should happen when a FlatListItem is tapped. Although, a default implementation is provided which simply prints the message, that a user implementation is required.

Implementation

typedef OnItemTap = Function({BuildContext context, int tappedAt});