add navigator to shop now button
This commit is contained in:
parent
a2166bcba8
commit
bae2dfcd09
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue