Enable Material 3 on provider_shopper (#1627)

Co-authored-by: Brett Morgan <brettmorgan@google.com>
pull/1633/head
Miguel Beltran 1 year ago committed by GitHub
parent 3273c817c9
commit d001cd079e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,8 @@
import 'package:flutter/material.dart';
final appTheme = ThemeData(
primarySwatch: Colors.yellow,
colorSchemeSeed: Colors.yellow,
useMaterial3: true,
textTheme: const TextTheme(
displayLarge: TextStyle(
fontFamily: 'Corben',

@ -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.')));

Loading…
Cancel
Save