Showing
3 changed files
with
4 additions
and
4 deletions
@@ -45,7 +45,7 @@ class ModalBottomSheet extends StatefulWidget { | @@ -45,7 +45,7 @@ class ModalBottomSheet extends StatefulWidget { | ||
45 | required this.expanded, | 45 | required this.expanded, |
46 | required this.onClosing, | 46 | required this.onClosing, |
47 | required this.child, | 47 | required this.child, |
48 | - }) : super(key: key); | 48 | + }) : super(key: key); |
49 | 49 | ||
50 | /// The closeProgressThreshold parameter | 50 | /// The closeProgressThreshold parameter |
51 | /// specifies when the bottom sheet will be dismissed when user drags it. | 51 | /// specifies when the bottom sheet will be dismissed when user drags it. |
@@ -16,7 +16,7 @@ class _ModalBottomSheet<T> extends StatefulWidget { | @@ -16,7 +16,7 @@ class _ModalBottomSheet<T> extends StatefulWidget { | ||
16 | this.expanded = false, | 16 | this.expanded = false, |
17 | this.enableDrag = true, | 17 | this.enableDrag = true, |
18 | this.animationCurve, | 18 | this.animationCurve, |
19 | - }) : super(key: key); | 19 | + }) : super(key: key); |
20 | 20 | ||
21 | final double? closeProgressThreshold; | 21 | final double? closeProgressThreshold; |
22 | final ModalBottomSheetRoute<T> route; | 22 | final ModalBottomSheetRoute<T> route; |
@@ -138,7 +138,7 @@ class ModalBottomSheetRoute<T> extends PopupRoute<T> { | @@ -138,7 +138,7 @@ class ModalBottomSheetRoute<T> extends PopupRoute<T> { | ||
138 | this.animationCurve, | 138 | this.animationCurve, |
139 | this.duration, | 139 | this.duration, |
140 | RouteSettings? settings, | 140 | RouteSettings? settings, |
141 | - }) : super(settings: settings); | 141 | + }) : super(settings: settings); |
142 | 142 | ||
143 | final double? closeProgressThreshold; | 143 | final double? closeProgressThreshold; |
144 | final WidgetWithChildBuilder? containerBuilder; | 144 | final WidgetWithChildBuilder? containerBuilder; |
@@ -14,7 +14,7 @@ class MaterialWithModalsPageRoute<T> extends MaterialPageRoute<T> { | @@ -14,7 +14,7 @@ class MaterialWithModalsPageRoute<T> extends MaterialPageRoute<T> { | ||
14 | RouteSettings? settings, | 14 | RouteSettings? settings, |
15 | bool maintainState = true, | 15 | bool maintainState = true, |
16 | bool fullscreenDialog = false, | 16 | bool fullscreenDialog = false, |
17 | - }) : super( | 17 | + }) : super( |
18 | settings: settings, | 18 | settings: settings, |
19 | fullscreenDialog: fullscreenDialog, | 19 | fullscreenDialog: fullscreenDialog, |
20 | builder: builder, | 20 | builder: builder, |
-
Please register or login to post a comment