mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Consolidated Flutter 3.3 update (#1401)
This commit is contained in:
@@ -90,10 +90,7 @@ class _CartTotal extends StatelessWidget {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('Buying not supported yet.')));
|
||||
},
|
||||
style: TextButton.styleFrom(
|
||||
// ignore: deprecated_member_use
|
||||
primary: Colors.white,
|
||||
),
|
||||
style: TextButton.styleFrom(foregroundColor: Colors.white),
|
||||
child: const Text('BUY'),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -39,8 +39,7 @@ class MyLogin extends StatelessWidget {
|
||||
Navigator.pushReplacementNamed(context, '/catalog');
|
||||
},
|
||||
style: ElevatedButton.styleFrom(
|
||||
// ignore: deprecated_member_use
|
||||
primary: Colors.yellow,
|
||||
foregroundColor: Colors.yellow,
|
||||
),
|
||||
child: const Text('ENTER'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user