fixed the bug (#77612)
This commit is contained in:
parent
9167083d09
commit
3569536e84
@ -655,7 +655,7 @@ class ActionDispatcher with Diagnosticable {
|
|||||||
/// IconButton(
|
/// IconButton(
|
||||||
/// icon: const Icon(Icons.exposure_plus_1),
|
/// icon: const Icon(Icons.exposure_plus_1),
|
||||||
/// onPressed: () {
|
/// onPressed: () {
|
||||||
/// Actions.invoke(context, ModifyIntent(count++));
|
/// Actions.invoke(context, ModifyIntent(++count));
|
||||||
/// },
|
/// },
|
||||||
/// ),
|
/// ),
|
||||||
/// AnimatedBuilder(
|
/// AnimatedBuilder(
|
||||||
@ -670,7 +670,7 @@ class ActionDispatcher with Diagnosticable {
|
|||||||
/// IconButton(
|
/// IconButton(
|
||||||
/// icon: const Icon(Icons.exposure_minus_1),
|
/// icon: const Icon(Icons.exposure_minus_1),
|
||||||
/// onPressed: () {
|
/// onPressed: () {
|
||||||
/// Actions.invoke(context, ModifyIntent(count--));
|
/// Actions.invoke(context, ModifyIntent(--count));
|
||||||
/// },
|
/// },
|
||||||
/// ),
|
/// ),
|
||||||
/// ],
|
/// ],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user