Remove "note that" in our documentation (as per style guide) (#120842)

* lerp documentation

* Remove Note, Note That from repo

* Improve BorderSide documentation.

* apply review comments
This commit is contained in:
Ian Hickson
2023-02-17 14:27:33 -08:00
committed by GitHub
parent 9fe556705b
commit 6205c110d6
72 changed files with 256 additions and 206 deletions

View File

@@ -164,7 +164,7 @@ class MyStatelessWidget extends StatelessWidget {
),
// A group that orders in widget order, regardless of what the order is set to.
FocusTraversalGroup(
// Note that because this is NOT an OrderedTraversalPolicy, the
// Because this is NOT an OrderedTraversalPolicy, the
// assigned order of these OrderedButtons is ignored, and they
// are traversed in widget order. TRY THIS: change this to
// "OrderedTraversalPolicy()" and see that it now follows the

View File

@@ -52,7 +52,7 @@ class _HomeState extends State<Home> {
_fooVersion += 1;
// Changing the SharedAppData's value for 'foo' causes the
// widgets that depend on 'foo' to be rebuilt.
SharedAppData.setValue<String, String?>(context, 'foo', 'FOO $_fooVersion'); // note: no setState()
SharedAppData.setValue<String, String?>(context, 'foo', 'FOO $_fooVersion'); // no need to call setState()
},
),
const SizedBox(height: 16),
@@ -60,7 +60,7 @@ class _HomeState extends State<Home> {
child: const Text('change bar'),
onPressed: () {
_barVersion += 1;
SharedAppData.setValue<String, String?>(context, 'bar', 'BAR $_barVersion'); // note: no setState()
SharedAppData.setValue<String, String?>(context, 'bar', 'BAR $_barVersion'); // no need to call setState()
},
),
],

View File

@@ -28,7 +28,7 @@ void main() {
}
void expectInnerGestureDetectorBehavior(WidgetTester tester, HitTestBehavior behavior) {
// Note that there is a third GestureDetector added by Scaffold
// There is a third GestureDetector added by Scaffold.
final Finder innerGestureDetectorFinder = find.byType(GestureDetector).at(1);
final GestureDetector innerGestureDetector = tester.firstWidget<GestureDetector>(innerGestureDetectorFinder);
expect(innerGestureDetector.behavior, behavior);