Unverified Commit 3569536e authored by Bishwajeet Parhi's avatar Bishwajeet Parhi Committed by GitHub

fixed the bug (#77612)

parent 9167083d
......@@ -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));
/// },
/// ),
/// ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment