OptionItem<T> constructor
OptionItem<T> ({
- required String label,
- Widget? icon,
- String? hint,
- T? value,
- Widget? child,
- VoidCallback? onTap,
- String? subLabel,
- Widget? activeIcon,
- List<
OptionItem< options = const [],T> >
Implementation
OptionItem({
required this.label,
this.icon,
this.hint,
this.value,
this.child,
this.onTap,
this.subLabel,
this.activeIcon,
this.options = const [],
});