forked from firka/flutter
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:
@@ -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()
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user