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
chore: add const to remove flutter warnings
Sean Riley Hawkinsc4ca0553a9a6
diff --git a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/document.dart b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/document.dartindex be70d7a67f..efe4b4bf39 100644--- a/frontend/app_flowy/lib/workspace/presentation/plugins/doc/document.dart+++ b/frontend/app_flowy/lib/workspace/presentation/plugins/doc/document.dart@@ -179,7 +179,7 @@ class DocumentShareButton extends StatelessWidget {switch (action) {case ShareAction.markdown:context.read<DocShareBloc>().add(const DocShareEvent.shareMarkdown());- BubbleNotification(+ const BubbleNotification(msgTitle: 'Exported Complete ^_^',msgBody: "Check in the flowy folder inside your documents directory").show(context);diff --git a/frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dart b/frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dartindex cae4137ba1..c17b386df0 100644--- a/frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dart+++ b/frontend/app_flowy/lib/workspace/presentation/widgets/dialogs.dart@@ -248,7 +248,7 @@ class _BubbleNotification extends State<BubbleNotification> {child: ListTile(leading: SizedBox.fromSize(size: const Size(40, 40),- child: ClipOval(+ child: const ClipOval(child: Icon(Icons.file_copy),),),