mirror of
https://github.com/flutter/samples.git
synced 2026-05-17 12:28:16 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class HeroAnimationDemo extends StatelessWidget {
|
||||
const HeroAnimationDemo({Key? key}) : super(key: key);
|
||||
const HeroAnimationDemo({super.key});
|
||||
static const String routeName = '/misc/hero_animation';
|
||||
|
||||
@override
|
||||
@@ -30,7 +30,7 @@ class HeroAnimationDemo extends StatelessWidget {
|
||||
}
|
||||
|
||||
class HeroPage extends StatelessWidget {
|
||||
const HeroPage({Key? key}) : super(key: key);
|
||||
const HeroPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user