mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Migrate platform_view_swift to Material 3 (#1625)
Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
@@ -20,6 +20,7 @@ class PlatformView extends StatelessWidget {
|
|||||||
title: 'Platform View',
|
title: 'Platform View',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.grey,
|
primarySwatch: Colors.grey,
|
||||||
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
home: const HomePage(),
|
home: const HomePage(),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user