TopListItem constructor

TopListItem({
  1. required String name,
  2. required String id,
  3. Widget? icon,
  4. dynamic onTap()?,
})

Implementation

TopListItem({required this.name, required this.id, this.icon, this.onTap});