Fix go router to work with web and ios nav
This commit is contained in:
parent
e85bf2d577
commit
aee6497ccb
14 changed files with 230 additions and 226 deletions
|
|
@ -19,7 +19,7 @@ class _MzansiCalendarTileState extends State<MzansiCalendarTile> {
|
|||
Widget build(BuildContext context) {
|
||||
return MihPackageTile(
|
||||
onTap: () {
|
||||
context.pushNamed(
|
||||
context.goNamed(
|
||||
"mihCalendar",
|
||||
);
|
||||
// Navigator.of(context).pushNamed(
|
||||
|
|
@ -29,7 +29,7 @@ class _MzansiCalendarTileState extends State<MzansiCalendarTile> {
|
|||
},
|
||||
packageName: "Calendar",
|
||||
packageIcon: Icon(
|
||||
MihIcons.calendar,
|
||||
MihIcons.mihCalendar,
|
||||
color: MihColors.secondary(),
|
||||
// size: widget.packageSize,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue