1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
This commit is contained in:
Brett Morgan
2022-05-11 12:48:11 -07:00
committed by GitHub
parent fb00d0a102
commit ccd68f34e2
242 changed files with 1719 additions and 1430 deletions

View File

@@ -35,13 +35,13 @@ class MyLogin extends StatelessWidget {
height: 24,
),
ElevatedButton(
child: const Text('ENTER'),
onPressed: () {
Navigator.pushReplacementNamed(context, '/catalog');
},
style: ElevatedButton.styleFrom(
primary: Colors.yellow,
),
child: const Text('ENTER'),
)
],
),