'future.delay in Flutter how long can it be does it depend on device watch?

Can it be used for daily, weekly or monthly subscription? Can it be manipulated by users? I mean does it effect when changing user device's time zone or location.

My problem user can add a post a day and I want set timer 24h till he can add post again

what I am thinking

ontap:

addpost();

Future.delayed(Duration(hours: 24));

setstate ()=> reset post limit



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source