Closed leecasey closed 1 year ago
AnimatedDigitWidget( key: const ValueKey("teal"), value: permittedDays(holidays), textStyle: ThemeText.centerTextTeal, )
Sorry, can you tell me how to reproduce it, I can't reproduce the problem with the code above.
sometimes it happens sometimes it doesn't. I'm not sure how to tell you how to reproduce it as its quite random. I see no pattern on when it happens.
Column(
children: [
const Text(
'Random Number',
style: TextStyle(),
),
AnimatedDigitWidget(
key: const ValueKey("teal"),
value: randomNumber(),
textStyle: ThemeText.centerTextTeal,
)
],
),
I'm sorry, it's been a long time, but I still can't reproduce it, maybe it's a font problem? Try the latest package and see, I will close the question first, if you still have new phenomena, you can open it again
Column(
children: [
const Text(
'{Random Number}',
style: TextStyle(
fontSize: 30,
fontWeight: FontWeight.bold,
color: Colors.blueAccent,
fontFamily: "momofont",
),
),
AnimatedDigitWidget(
key: const ValueKey("teal"),
value: Random().nextInt(DateTime.now().year),
textStyle: TextStyle(
fontSize: 100,
fontWeight: FontWeight.bold,
color: Colors.blueAccent,
fontFamily: "momofont",
),
)
],
),
Any idea why this is happening guys?