Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count Down is not starting #22

Open
RizanPSTU opened this issue Jun 8, 2021 · 7 comments
Open

Count Down is not starting #22

RizanPSTU opened this issue Jun 8, 2021 · 7 comments
Assignees

Comments

@RizanPSTU
Copy link

Count Down is freezed on 2.1.0+1

@WiRight
Copy link
Member

WiRight commented Jun 8, 2021

Thx for your issue!

I forgot to add a new example

Use controller as in example folder and start manually

@WiRight WiRight self-assigned this Jun 8, 2021
@shreyj786
Copy link

Countdown is not starting through initState() method, but working on button's onPressed method.

@sud0su
Copy link

sud0su commented Jun 9, 2021

Countdown is not starting through initState() method, but working on button's onPressed method.

just put controller.start() after widget build.. that's work for me.

@WiRight
Copy link
Member

WiRight commented Jun 9, 2021

I can add next:

  1. Auto start if controller is not provided
  2. Manually start if controller provided

@sud0su
Copy link

sud0su commented Jun 9, 2021

I can add next:

  1. Auto start if controller is not provided
  2. Manually start if controller provided

so, how to restart the timer if the controller is not provided. in my case, i want to start the time when the page is opened.

@WiRight
Copy link
Member

WiRight commented Jun 9, 2021

I can add next:

  1. Auto start if controller is not provided
  2. Manually start if controller provided

so, how to restart the timer if the controller is not provided. in my case, i want to start the time when the page is opened.

maybe add a autoStart property, by default it was true

@RizanPSTU
Copy link
Author

the controller as in the example folder and start manually. It is now working on initState() method @WiRight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants