An open-source cross-platform alternative to AirDrop
Provided Animation for Progress Bar (#2067)
Lightning-Liondf672340c67d
diff --git a/app/lib/pages/progress_page.dart b/app/lib/pages/progress_page.dartindex a87d7804..15231a70 100644--- a/app/lib/pages/progress_page.dart+++ b/app/lib/pages/progress_page.dart@@ -432,9 +432,16 @@ class _ProgressPageState extends State<ProgressPage> with Refena {style: const TextStyle(fontSize: 20),),const SizedBox(height: 5),- CustomProgressBar(- progress: _totalBytes == 0 ? 0 : currBytes / _totalBytes,- borderRadius: 5,+ TweenAnimationBuilder<double>(+ tween: Tween<double>(begin:0, end:_totalBytes == 0 ? 0 : currBytes / _totalBytes),+ duration: Duration(seconds: 1),+ curve: Curves.easeOut,+ builder: (context, value, child) {+ return CustomProgressBar(+ progress: value,+ borderRadius: 5,+ );+ },),AnimatedCrossFade(crossFadeState: _advanced ? CrossFadeState.showSecond : CrossFadeState.showFirst,