Timer increment

Actions & Logic
Resolved

Increment timer by 30 seconds after the press of a button.

What have you tried so far?

Hello Flutterflow community,

I wanted to increment a timer widget by 30 seconds by pressing a button. I started by creating a Local Page State Variable, gave it the name of tempo, set the type to Integer and gave it the Initial Field Value of 30000 (ms).

On the timer widget, under Countdown Time I've defined the Local Page State Variable tempo and tested it. The normal countdown works as expected. when pressing the start button.

I've created a new button for extension, gave it the action of Update Page State, defined the tempo Local Page State Variable, selected the Select Update Type Increment/Decrement and gace the Increment Value of 30000 ms.

I've tested the app but only the countdown works, the extension button does not work.

Could you please help me determine the issue? (I have to mention that I am not very code savy)

Thank you

Did you check FlutterFlow's Documentation for this topic?
Yes
3
9 replies