Skip to content

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.

chore: remove default ImageFilter (#3349)

Yijing Huang2f6df6a17d33
diff --git a/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart b/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
index 67ff399a14..04bcca2668 100644
--- a/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
+++ b/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/widget/dialog/styled_dialogs.dart
@@ -106,13 +106,14 @@ class DialogBarrier {
String label;
Color color;
bool dismissible;
- ImageFilter filter;
+ ImageFilter? filter;
DialogBarrier({
this.dismissible = true,
this.color = Colors.transparent,
this.label = '',
- }) : filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4);
+ this.filter,
+ });
}
class StyledDialogRoute<T> extends PopupRoute<T> {