1
0
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:
Miguel Beltran
2023-02-06 04:57:15 +01:00
committed by GitHub
parent 394459bd12
commit aa40931a0c

View File

@@ -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(),
); );