Showing
1 changed file
with
2 additions
and
6 deletions
| @@ -30,13 +30,11 @@ typedef WidgetWithChildBuilder = Widget Function( | @@ -30,13 +30,11 @@ typedef WidgetWithChildBuilder = Widget Function( | ||
| 30 | /// See also: | 30 | /// See also: |
| 31 | /// | 31 | /// |
| 32 | /// * [showMaterialModalBottomSheet] which can be used to display a modal bottom | 32 | /// * [showMaterialModalBottomSheet] which can be used to display a modal bottom |
| 33 | +/// sheet with Material appareance. | ||
| 34 | +/// * [showCupertinoModalBottomSheet] which can be used to display a modal bottom | ||
| 33 | /// sheet with Cupertino appareance. | 35 | /// sheet with Cupertino appareance. |
| 34 | class ModalBottomSheet extends StatefulWidget { | 36 | class ModalBottomSheet extends StatefulWidget { |
| 35 | /// Creates a bottom sheet. | 37 | /// Creates a bottom sheet. |
| 36 | - /// | ||
| 37 | - /// Typically, bottom sheets are created implicitly by | ||
| 38 | - /// [ScaffoldState.showBottomSheet], for persistent bottom sheets, or by | ||
| 39 | - /// [showModalBottomSheet], for modal bottom sheets. | ||
| 40 | const ModalBottomSheet({ | 38 | const ModalBottomSheet({ |
| 41 | Key key, | 39 | Key key, |
| 42 | this.animationController, | 40 | this.animationController, |
| @@ -85,8 +83,6 @@ class ModalBottomSheet extends StatefulWidget { | @@ -85,8 +83,6 @@ class ModalBottomSheet extends StatefulWidget { | ||
| 85 | 83 | ||
| 86 | /// A builder for the contents of the sheet. | 84 | /// A builder for the contents of the sheet. |
| 87 | /// | 85 | /// |
| 88 | - /// The bottom sheet will wrap the widget produced by this builder in a | ||
| 89 | - /// [Material] widget. | ||
| 90 | final ScrollWidgetBuilder builder; | 86 | final ScrollWidgetBuilder builder; |
| 91 | 87 | ||
| 92 | /// If true, the bottom sheet can be dragged up and down and dismissed by | 88 | /// If true, the bottom sheet can be dragged up and down and dismissed by |
-
Please register or login to post a comment