From f9bf1dcd2db8bbf6847a99a2316634b562e0ae9d Mon Sep 17 00:00:00 2001 From: fujidaiti Date: Sat, 24 Feb 2024 17:45:23 +0900 Subject: [PATCH] Remove useless enablePullToDismiss flag --- package/lib/src/modal/cupertino.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/package/lib/src/modal/cupertino.dart b/package/lib/src/modal/cupertino.dart index d6b29480..3a4e8a94 100644 --- a/package/lib/src/modal/cupertino.dart +++ b/package/lib/src/modal/cupertino.dart @@ -408,7 +408,6 @@ class CupertinoModalSheetPage extends Page { super.arguments, super.restorationId, this.maintainState = true, - this.enablePullToDismiss = true, this.barrierDismissible = true, this.fullscreenDialog = false, this.barrierLabel, @@ -432,8 +431,6 @@ class CupertinoModalSheetPage extends Page { final String? barrierLabel; - final bool enablePullToDismiss; - final Duration transitionDuration; final Curve transitionCurve;