mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
add thumbnails to the books example to make memory leaks easier to test (#1353)
* add thumbnails to the books example to make memory leaks easier to test
* also add profile build
* migrate material 3 demo code to avoid warning
* Revert "migrate material 3 demo code to avoid warning"
This reverts commit 7df37d9f65.
* fix lints in various packages
* DoNothingAndStopPropagationIntent const conflicts between stable and beta, add lint ignore for now
This commit is contained in:
@@ -90,7 +90,10 @@ class _CartTotal extends StatelessWidget {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('Buying not supported yet.')));
|
||||
},
|
||||
style: TextButton.styleFrom(primary: Colors.white),
|
||||
style: TextButton.styleFrom(
|
||||
// ignore: deprecated_member_use
|
||||
primary: Colors.white,
|
||||
),
|
||||
child: const Text('BUY'),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -39,6 +39,7 @@ class MyLogin extends StatelessWidget {
|
||||
Navigator.pushReplacementNamed(context, '/catalog');
|
||||
},
|
||||
style: ElevatedButton.styleFrom(
|
||||
// ignore: deprecated_member_use
|
||||
primary: Colors.yellow,
|
||||
),
|
||||
child: const Text('ENTER'),
|
||||
|
||||
Reference in New Issue
Block a user