TopListItem constructor

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

Implementation

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