0

I have checkbox widget that I would like to hide for 24 hours after the user click it. I want to prevent then from continuously clicking on the the button.

How are can I do this in Flutter.

Thanks

user2570135
  • 2,669
  • 6
  • 50
  • 80

1 Answers1

0

You can use SharedPreferences lib to store timestamp and then use ternary conditional operator to show or hide your button yourBool ? RadioButton() : SizedBox()...

Neqz
  • 44
  • 3