1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

Enable Material 3 on provider_shopper (#1627)

Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
Miguel Beltran
2023-02-06 04:50:50 +01:00
committed by GitHub
parent 3273c817c9
commit d001cd079e
2 changed files with 3 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ class _CartTotal extends StatelessWidget {
builder: (context, cart, child) =>
Text('\$${cart.totalPrice}', style: hugeStyle)),
const SizedBox(width: 24),
TextButton(
FilledButton(
onPressed: () {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text('Buying not supported yet.')));