Normalize examples (#111223)

This commit is contained in:
Greg Spencer
2022-09-09 14:17:11 -07:00
committed by GitHub
parent d63442c1da
commit e617d003fb
370 changed files with 991 additions and 924 deletions

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flutter code sample for CircularProgressIndicator
/// Flutter code sample for [CircularProgressIndicator].
import 'package:flutter/material.dart';
@@ -29,7 +29,8 @@ class MyStatefulWidget extends StatefulWidget {
State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}
/// AnimationControllers can be created with `vsync: this` because of TickerProviderStateMixin.
/// [AnimationController]s can be created with `vsync: this` because of
/// [TickerProviderStateMixin].
class _MyStatefulWidgetState extends State<MyStatefulWidget>
with TickerProviderStateMixin {
late AnimationController controller;

View File

@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flutter code sample for LinearProgressIndicator
/// Flutter code sample for [LinearProgressIndicator].
import 'package:flutter/material.dart';
@@ -29,7 +29,8 @@ class MyStatefulWidget extends StatefulWidget {
State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}
/// AnimationControllers can be created with `vsync: this` because of TickerProviderStateMixin.
/// [AnimationController]s can be created with `vsync: this` because of
/// [TickerProviderStateMixin].
class _MyStatefulWidgetState extends State<MyStatefulWidget>
with TickerProviderStateMixin {
late AnimationController controller;