showProgram method

dynamic showProgram(
  1. dynamic actionData,
  2. dynamic context
)

Implementation

showProgram(actionData, context) {
  myLog('showProgram $actionData');
  //Map data = actionData[0];
  //Widget w = getCard(data[gBody], context, '', _defaultBackGroundColor);
  showScreenPage([
    {
      gName: actionData[0][gLabel],
      gType: gScreen,
      gItems: {
        0: {
          gItem: {
            gType: gProgram,
            gValue: actionData,
            gHeight: MediaQuery.of(context).size.height
          }
        },
        // 1: {gItem: '{"$gType":"$gPhoto","$gValue":$isSelfie}'}
      }
    }
  ], context);
}