Timer

Using this action, you can control (start, stop and reset) the Timer widget.

Prerequisites

Ensure you have added the Timer widget on your page.

Types of Timer action

You can set the following types of actions on a Timer widget:

  1. Start Timer: This starts the timer. If the timer is already started, triggering this type won't have any effect.

  2. Stop Timer: This stops the timer. This will have effect only if the timer is started.

  3. Reset Timer: This resets the timer and brings it to the initial state.

Adding Timer action

Go to your project page on FlutterFlow and follow the steps below to define the Action to any widget.

  1. Select the Widget (e.g., Button) on which you want to define the action.

  2. Select Actions from the Properties panel (the right menu), and click + Add Action.

  3. Search and select the Timer (under Widget/UI Interactions) action.

  4. Set the Timer Action Type among the Start Timer, Stop Timer, and Reset Timer.

Last updated