Final chapter: migrate api doc samples to super-parameters (#104007)

This commit is contained in:
Michael Goderbauer
2022-05-17 15:35:07 -07:00
committed by GitHub
parent 7fdf747723
commit 2cbad4b3ae
352 changed files with 779 additions and 788 deletions

View File

@@ -15,11 +15,11 @@ enum DiagonalSlot {
/// by providing slots for two children that will be arranged diagonally.
class Diagonal extends RenderObjectWidget with SlottedMultiChildRenderObjectWidgetMixin<DiagonalSlot> {
const Diagonal({
Key? key,
super.key,
this.topLeft,
this.bottomRight,
this.backgroundColor,
}) : super(key: key);
});
final Widget? topLeft;
final Widget? bottomRight;
@@ -251,7 +251,7 @@ class RenderDiagonal extends RenderBox with SlottedContainerRenderObjectMixin<Di
}
class ExampleWidget extends StatelessWidget {
const ExampleWidget({Key? key}) : super(key: key);
const ExampleWidget({super.key});
@override
Widget build(BuildContext context) {