mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
enable material 3 on desktop_photo_search sample (#1608)
This commit is contained in:
@@ -63,7 +63,8 @@ class UnsplashSearchApp extends StatelessWidget {
|
|||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: 'Photo Search',
|
title: 'Photo Search',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
primarySwatch: Colors.orange,
|
colorSchemeSeed: Colors.orange,
|
||||||
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
home: const UnsplashHomePage(title: 'Photo Search'),
|
home: const UnsplashHomePage(title: 'Photo Search'),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user