Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
[flutter]: fix scrollbar does't have default animation for styleed_widget
appflowy3bd147a05839
diff --git a/app_flowy/.vscode/settings.json b/app_flowy/.vscode/settings.jsonindex 0d913b05e6..3af73866a3 100644--- a/app_flowy/.vscode/settings.json+++ b/app_flowy/.vscode/settings.json@@ -1,6 +1,6 @@{"[dart]": {- "editor.formatOnSave": false,+ "editor.formatOnSave": true,"editor.formatOnType": true,"editor.rulers": [120diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart b/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dartindex 5309f3deaa..b72da55152 100644--- a/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart+++ b/app_flowy/packages/flowy_infra_ui/lib/style_widget/scrolling/styled_scroll_bar.dart@@ -173,7 +173,7 @@ class ScrollbarState extends State<StyledScrollbar> {),),)- ]).opacity(showHandle ? 1.0 : 0.0, animate: false);+ ]).opacity(showHandle ? 1.0 : 0.0, animate: true);},);}@@ -237,7 +237,9 @@ class ScrollbarListStack extends StatelessWidget {trackColor: trackColor,handleColor: handleColor,),- ),+ )+ // The animate will be used by the children that using styled_widget.+ .animate(const Duration(milliseconds: 250), Curves.easeOut),],);}