1
0
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:
Miguel Beltran
2023-01-27 21:30:47 +01:00
committed by GitHub
parent c784884741
commit 079e5a3c1e

View File

@@ -63,7 +63,8 @@ class UnsplashSearchApp extends StatelessWidget {
return MaterialApp(
title: 'Photo Search',
theme: ThemeData(
primarySwatch: Colors.orange,
colorSchemeSeed: Colors.orange,
useMaterial3: true,
),
home: const UnsplashHomePage(title: 'Photo Search'),
);