Item constructor

Item({
  1. required Icon icon,
  2. required void onPressed(),
})

Implementation

Item({required this.icon, required this.onPressed});