diff --git a/material_3_demo/lib/color_box.dart b/material_3_demo/lib/color_box.dart index e150d18ab..d76bd9a10 100644 --- a/material_3_demo/lib/color_box.dart +++ b/material_3_demo/lib/color_box.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/material_3_demo/lib/component_screen.dart b/material_3_demo/lib/component_screen.dart index 685137c33..5d0bc3974 100644 --- a/material_3_demo/lib/component_screen.dart +++ b/material_3_demo/lib/component_screen.dart @@ -2506,7 +2506,7 @@ class _ComponentDecorationState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Text(widget.label, - style: Theme.of(context).textTheme.titleSmall), + style: Theme.of(context).textTheme.titleMedium), Tooltip( message: widget.tooltipMessage, child: const Padding( diff --git a/material_3_demo/lib/scheme.dart b/material_3_demo/lib/scheme.dart index 4cb30045b..f2ef72a33 100644 --- a/material_3_demo/lib/scheme.dart +++ b/material_3_demo/lib/scheme.dart @@ -1,3 +1,7 @@ +// Copyright 2024 The Flutter team. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'package:flutter/material.dart'; import '../color_box.dart';