getItem method

Widget getItem()

Implementation

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