showStackDetail method

dynamic showStackDetail(
  1. dynamic context
)

Implementation

showStackDetail(context) {
  myLogAll('showStackDetail');
  Map lastItem = _stackList.last;
  myLog('showStackDetail:$lastItem');

  Widget aWidget = MyDetail(lastItem[gParam], lastItem[gsBackgroundColor],
      lastItem[gId], null, context);
  myLog('showStackDetail:$aWidget');
  _firstPage = aWidget;
  /*if (_firstPageIsNull) {
    Route lastRoute = MaterialPageRoute(builder: (context) => _firstPage);

    Navigator.push(context, lastRoute);
  }*/
  myNotifyListeners();

  return _firstPage;
  /*  Navigator.of(context)
      .pushNamedAndRemoveUntil('/', (Route<dynamic> route) => false);
  navigatorPush(context, aWidget);*/
}