Skip to content

Timer does not reset in callback function #2517

@yannicschuller

Description

@yannicschuller

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When the timer stops and a bottom sheet is openend. The callback function in the bottom sheet can't reset or start the timer on the homepage.

Expected Behavior

Timer can be controlled in the callback function.

Steps to Reproduce

  1. Create a timer on one page.
  2. When the timer stops, open a bottom sheet.
  3. Bottom sheet has a callback function for a timer reset / timer start.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4Wz/Hqx89grt9A1qruYO9VgjgXNnImUIIzkMN+TkggfLLkEYwPQPvRalZWUs+0Y29bfWGjgn0e+tnemvHyUsJcPS6dc6I/zZBxVQ/wfzuuSrqrC5GOS25/DeVgfmKw36a72xMmBMFhSCUE7TqXe+uRaHTYK5DQIW1MAeaLJZOK2SrDX1iXc2URm05KZDPz

Context

Timer can be reset and started after a bottom sheet was openend. So the user can continue the timer.

Visual documentation

CleanShot 2024-03-13 at 00 26 26@2x

CleanShot 2024-03-13 at 00 26 51@2x

Additional Info

Test project: https://app.flutterflow.io/project/test-timer-callback-ihvtgs?tab=pageSelector&page=HomePage
Bug has also already been reviewed by "David" in chat support.

Environment

- FlutterFlow version: FlutterFlow v4.1 released March 9, 2024
Flutter version is 3.19.1
- Platform: Browser
- Browser name and version: Safari 17.4
- Operating system and version affected: MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugstatus: confirmedIssue has been reproduced and confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions