getItem method
Implementation
Widget getItem() {
Widget wrapper = prefWrapper();
return actionFunc == null || !pref.enabled
? wrapper
: GestureDetector(onTap: actionFunc, child: wrapper);
}
Widget getItem() {
Widget wrapper = prefWrapper();
return actionFunc == null || !pref.enabled
? wrapper
: GestureDetector(onTap: actionFunc, child: wrapper);
}