diff --git a/lib/components/bannerimage.dart b/lib/components/bannerimage.dart index d2511e3..46b8401 100644 --- a/lib/components/bannerimage.dart +++ b/lib/components/bannerimage.dart @@ -46,7 +46,9 @@ class Bannerimage extends StatelessWidget { height: 8.0, ), ElevatedButton( - onPressed: () {}, + onPressed: () { + Navigator.pushReplacementNamed(context, '/products'); + }, style: ElevatedButton.styleFrom( primary: Colors.red, textStyle: const TextStyle(