OptionItem constructor

OptionItem({
  1. required dynamic onTap()?,
  2. required IconData iconData,
  3. required String title,
  4. String? subtitle,
})

Implementation

OptionItem({
  required this.onTap,
  required this.iconData,
  required this.title,
  this.subtitle,
});