Flutter bloc countdown millisecondes

I juste built a millisecondes countdown with bloc. My bloc use a ticker that refresh my countdown state every 50ms. But my state is recreated 20 Time by sec (1s/50ms)..

Will using AnimationController with TickerProviderStateMixin be a better option? And use my bloc only for storing the total Time to countdown. Or it is okay to emit state every 50ms (or less)



Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)