1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Adding copyright license to recently added files. Minor text label tweak. (#2450)

This commit is contained in:
James Williams
2024-09-25 14:33:51 -07:00
committed by GitHub
parent eb47a728ce
commit bd09ba04f7
3 changed files with 9 additions and 1 deletions

View File

@@ -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/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';

View File

@@ -2506,7 +2506,7 @@ class _ComponentDecorationState extends State<ComponentDecoration> {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text(widget.label, Text(widget.label,
style: Theme.of(context).textTheme.titleSmall), style: Theme.of(context).textTheme.titleMedium),
Tooltip( Tooltip(
message: widget.tooltipMessage, message: widget.tooltipMessage,
child: const Padding( child: const Padding(

View File

@@ -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/material.dart';
import '../color_box.dart'; import '../color_box.dart';