From b7377e547846359c00f542b01f0c73d1a1d1cd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E6=A3=80=E6=88=90?= Date: Mon, 14 Oct 2024 11:49:56 +0800 Subject: [PATCH] Open movingOnWindowChange attribute --- lib/src/core/toast.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/core/toast.dart b/lib/src/core/toast.dart index 1294fc9..8da771c 100644 --- a/lib/src/core/toast.dart +++ b/lib/src/core/toast.dart @@ -137,7 +137,7 @@ ToastFuture showToastWidget( animationDuration ??= theme.animationDuration; animationCurve ??= theme.animationCurve; duration ??= theme.duration; - movingOnWindowChange = theme.movingOnWindowChange; + movingOnWindowChange ??= theme.movingOnWindowChange; final TextDirection direction = textDirection ?? theme.textDirection;