- bye go_router
This commit is contained in:
@ -114,8 +114,8 @@ class EndDrawer extends StatelessWidget {
|
||||
ListTile(
|
||||
title: const Text('Einstellungen'),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
_showMsg('wip', context);
|
||||
//context.go('/settings');
|
||||
Navigator.pushReplacementNamed(context, '/settings');
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
|
@ -1,7 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import 'package:f0ckapp/models/mediaitem_model.dart';
|
||||
|
||||
@ -14,7 +13,7 @@ class MediaTile extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(
|
||||
onTap: () {
|
||||
context.push('/${item.id}', extra: true);
|
||||
Navigator.pushNamed(context, '/${item.id}');
|
||||
},
|
||||
child: Stack(
|
||||
fit: StackFit.expand,
|
||||
|
Reference in New Issue
Block a user