Final chapter: migrate api doc samples to super-parameters (#104007)
This commit is contained in:
committed by
GitHub
parent
7fdf747723
commit
2cbad4b3ae
@@ -9,7 +9,7 @@ import 'package:flutter/material.dart';
|
||||
void main() => runApp(const MyApp());
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({Key? key}) : super(key: key);
|
||||
const MyApp({super.key});
|
||||
|
||||
static const String _title = 'Flutter Code Sample';
|
||||
|
||||
@@ -28,7 +28,7 @@ class MyApp extends StatelessWidget {
|
||||
}
|
||||
|
||||
class MyStatelessWidget extends StatelessWidget {
|
||||
const MyStatelessWidget({Key? key}) : super(key: key);
|
||||
const MyStatelessWidget({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user