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:
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user