1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-22 06:58:41 +00:00

Deps update, utilize super.key (#1265)

* Deps update, utilize `super.key`

* `flutter format`
This commit is contained in:
Brett Morgan
2022-05-13 12:31:56 -07:00
committed by GitHub
parent 52ef797b9a
commit 58bc5d7a58
244 changed files with 449 additions and 500 deletions

View File

@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
class TypographyScreen extends StatelessWidget {
const TypographyScreen({Key? key}) : super(key: key);
const TypographyScreen({super.key});
@override
Widget build(BuildContext context) {
@@ -41,10 +41,10 @@ class TypographyScreen extends StatelessWidget {
class TextStyleExample extends StatelessWidget {
const TextStyleExample({
Key? key,
super.key,
required this.name,
required this.style,
}) : super(key: key);
});
final String name;
final TextStyle style;