fixed the bug (#77612)

This commit is contained in:
Bishwajeet Parhi 2021-03-09 23:19:03 +05:30 committed by GitHub
parent 9167083d09
commit 3569536e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -655,7 +655,7 @@ class ActionDispatcher with Diagnosticable {
/// IconButton(
/// icon: const Icon(Icons.exposure_plus_1),
/// onPressed: () {
/// Actions.invoke(context, ModifyIntent(count++));
/// Actions.invoke(context, ModifyIntent(++count));
/// },
/// ),
/// AnimatedBuilder(
@ -670,7 +670,7 @@ class ActionDispatcher with Diagnosticable {
/// IconButton(
/// icon: const Icon(Icons.exposure_minus_1),
/// onPressed: () {
/// Actions.invoke(context, ModifyIntent(count--));
/// Actions.invoke(context, ModifyIntent(--count));
/// },
/// ),
/// ],