mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Beta (#1234)
This commit is contained in:
@@ -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'),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user