feat(material): 启用了 material 3

This commit is contained in:
李东云
2023-03-27 16:48:10 +08:00
parent 9e6a40da82
commit 839f4fa64e

View File

@@ -38,9 +38,11 @@ class Bistro extends StatelessWidget {
bottomAppBarTheme: const BottomAppBarTheme(
color: Color(0xff2a2a22), surfaceTintColor: Color(0xffd56937)),
colorScheme: const ColorScheme.dark(
primary: Color(0xFFD56937),
secondary: Color(0xFFC8C2B4),
background: Color(0xff384444)),
primary: Color(0xFFD56937),
secondary: Color(0xFFC8C2B4),
background: Color(0xff384444),
),
useMaterial3 : true,
),
home: const BistroFrame(
title: '小酒馆',