onPress property
onPress function takea a function with this structure Function(ChatUser) will trigger when the avatar is tapped on
Implementation
final Function(ChatUser)? onPress;
onPress function takea a function with this structure Function(ChatUser) will trigger when the avatar is tapped on
final Function(ChatUser)? onPress;