I want to display a text on the screen on random place on random time for some duration. Position I figured out with the positioned like this : - but can't figure out how do I do it on the random time.
Positioned(
top: Random().nextDouble() * 1000,
right: Random().nextDouble() * 1000,
child: Text(
"data",
style: TextStyle(color: Colors.red),
),
);
Any workaround?