1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Enable Material 3 on Animations sample (#1605)

This commit is contained in:
Miguel Beltran
2023-01-27 12:58:55 +01:00
committed by GitHub
parent 7166e8acd6
commit de6e27001e
3 changed files with 5 additions and 9 deletions

View File

@@ -178,7 +178,8 @@ class AnimationSamples extends StatelessWidget {
return MaterialApp.router(
title: 'Animation Samples',
theme: ThemeData(
primarySwatch: Colors.deepPurple,
colorSchemeSeed: Colors.deepPurple,
useMaterial3: true,
),
routerConfig: router,
);