mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
Enable Material 3 in testing_app (#1628)
Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user