Enable Material 3 in testing_app (#1628)

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

@ -40,8 +40,9 @@ class TestingApp extends StatelessWidget {
child: MaterialApp.router(
title: 'Testing Sample',
theme: ThemeData(
primarySwatch: Colors.blue,
colorSchemeSeed: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
useMaterial3: true,
),
routerConfig: router(),
),

@ -20,7 +20,6 @@ class HomePage extends StatelessWidget {
title: const Text('Testing Sample'),
actions: [
TextButton.icon(
style: TextButton.styleFrom(foregroundColor: Colors.white),
onPressed: () {
context.go(FavoritesPage.fullPath);
},

Loading…
Cancel
Save