IconWidgetBuilder typedef
IconWidgetBuilder =
Widget Function(BuildContext context, IconPickerIcon icon, bool isSelected, void onTap(IconPickerIcon, {VoidCallback? onSelected}))
The IconWidgetBuilder is a function that builds a widget for the IconPicker
context The current BuildContext
icon The IconPickerIcon to build the widget for
isSelected If the icon is selected
onTap The function to call when the icon is tapped
Implementation
typedef IconWidgetBuilder = Widget Function(
BuildContext context,
IconPickerIcon icon,
bool isSelected,
void Function(IconPickerIcon, {VoidCallback? onSelected}) onTap,
);