toWidget method
Return the associated Widget
Implementation
@override
Widget toWidget(BuildContext context) => action.type == null
? _createContainer(context)
: GestureDetector(
onTap: () => _onTap(context), child: _createContainer(context));