chore: remove default ImageFilter (#3349)

This commit is contained in:
Yijing Huang 2023-09-07 21:09:16 -05:00 committed by GitHub
parent 8bcc6384f2
commit 2f6df6a17d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,13 +106,14 @@ class DialogBarrier {
String label; String label;
Color color; Color color;
bool dismissible; bool dismissible;
ImageFilter filter; ImageFilter? filter;
DialogBarrier({ DialogBarrier({
this.dismissible = true, this.dismissible = true,
this.color = Colors.transparent, this.color = Colors.transparent,
this.label = '', this.label = '',
}) : filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4); this.filter,
});
} }
class StyledDialogRoute<T> extends PopupRoute<T> { class StyledDialogRoute<T> extends PopupRoute<T> {