native_progress_indicator 0.0.5
native_progress_indicator: ^0.0.5 copied to clipboard
Flutter progress indicators as platform views
native_progress_indicator #
Flutter progress indicators animation can be blocking and have negative impacts on performance.
This library replaces flutter CircularProgressIndicator
and LinearProgressIndicator
with a platform view implementation.
Demo: #
Why #
Flutter animation can be blocking, which can result in poor performance in some cases. For example when reading large data sets from the firestore cache.
Usage #
NativeCircularProgressIndicator() // instead of CircularProgressIndicator()
// or
NativeLinearProgressIndicator() // instead of LinearProgressIndicator()