diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart index 08d69f4be5..88e467fcf4 100644 --- a/packages/flutter/lib/src/material/bottom_sheet.dart +++ b/packages/flutter/lib/src/material/bottom_sheet.dart @@ -40,9 +40,11 @@ const double _kCloseProgressThreshold = 0.5; /// /// See also: /// -/// * [ScaffoldState.showBottomSheet] -/// * [showModalBottomSheet] -/// * +/// * [showBottomSheet] and [ScaffoldState.showBottomSheet], for showing +/// non-modal "persistent" bottom sheets. +/// * [showModalBottomSheet], which can be used to display a modal bottom +/// sheet. +/// * class BottomSheet extends StatefulWidget { /// Creates a bottom sheet. /// @@ -319,7 +321,7 @@ class _ModalBottomSheetRoute extends PopupRoute { /// passed as the `builder` argument to [showModalBottomSheet]. /// * [showBottomSheet] and [ScaffoldState.showBottomSheet], for showing /// non-modal bottom sheets. -/// * +/// * Future showModalBottomSheet({ @required BuildContext context, @required WidgetBuilder builder, @@ -370,7 +372,7 @@ Future showModalBottomSheet({ /// * [showModalBottomSheet], which can be used to display a modal bottom /// sheet. /// * [Scaffold.of], for information about how to obtain the [BuildContext]. -/// * +/// * PersistentBottomSheetController showBottomSheet({ @required BuildContext context, @required WidgetBuilder builder, diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index 812ea2e6d6..baba3ac4e3 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -779,10 +779,6 @@ class Scaffold extends StatefulWidget { /// /// The [persistentFooterButtons] are rendered above the /// [bottomNavigationBar] but below the [body]. - /// - /// See also: - /// - /// * final List persistentFooterButtons; /// A panel displayed to the side of the [body], often hidden on mobile @@ -1336,7 +1332,7 @@ class ScaffoldState extends State with TickerProviderStateMixin { /// * [showModalBottomSheet], which can be used to display a modal bottom /// sheet. /// * [Scaffold.of], for information about how to obtain the [ScaffoldState]. - /// * + /// * PersistentBottomSheetController showBottomSheet(WidgetBuilder builder) { _closeCurrentBottomSheet(); final AnimationController controller = BottomSheet.createAnimationController(this)