Final chapter: migrate api doc samples to super-parameters (#104007)
This commit is contained in:
committed by
GitHub
parent
7fdf747723
commit
2cbad4b3ae
@@ -7,7 +7,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CounterBody extends StatelessWidget {
|
||||
const CounterBody({Key? key, required this.counterValueNotifier}) : super(key: key);
|
||||
const CounterBody({super.key, required this.counterValueNotifier});
|
||||
|
||||
final ValueNotifier<int> counterValueNotifier;
|
||||
|
||||
@@ -36,7 +36,7 @@ class CounterBody extends StatelessWidget {
|
||||
}
|
||||
|
||||
class MyApp extends StatefulWidget {
|
||||
const MyApp({Key? key}) : super(key: key);
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
State<MyApp> createState() => _MyAppState();
|
||||
|
||||
Reference in New Issue
Block a user