OptionItem<T> constructor

OptionItem<T>({
  1. required String label,
  2. Widget? icon,
  3. String? hint,
  4. T? value,
  5. Widget? child,
  6. VoidCallback? onTap,
  7. String? subLabel,
  8. Widget? activeIcon,
  9. List<OptionItem<T>> options = const [],
})

Implementation

OptionItem({
  required this.label,
  this.icon,
  this.hint,
  this.value,
  this.child,
  this.onTap,
  this.subLabel,
  this.activeIcon,
  this.options = const [],
});