From 1877efed5e06d486c3c39e7823fe5cc02ef7a777 Mon Sep 17 00:00:00 2001 From: Bruno Leroux Date: Wed, 6 Jul 2022 23:33:52 +0200 Subject: [PATCH] Add documentation references to BottomSheetThemeData (#107149) Co-authored-by: Bruno Leroux --- packages/flutter/lib/src/material/bottom_sheet.dart | 2 ++ packages/flutter/lib/src/material/scaffold.dart | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart index 4da220fdcb..e57fc6ce7b 100644 --- a/packages/flutter/lib/src/material/bottom_sheet.dart +++ b/packages/flutter/lib/src/material/bottom_sheet.dart @@ -61,6 +61,8 @@ typedef BottomSheetDragEndHandler = void Function( /// non-modal "persistent" bottom sheets. /// * [showModalBottomSheet], which can be used to display a modal bottom /// sheet. +/// * [BottomSheetThemeData], which can be used to customize the default +/// bottom sheet property values. /// * class BottomSheet extends StatefulWidget { /// Creates a bottom sheet. diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index f098008587..e2d18366b4 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -1736,6 +1736,8 @@ class Scaffold extends StatefulWidget { /// * [showBottomSheet], which displays a bottom sheet as a route that can /// be dismissed with the scaffold's back button. /// * [showModalBottomSheet], which displays a modal bottom sheet. + /// * [BottomSheetThemeData], which can be used to customize the default + /// bottom sheet property values when using a [BottomSheet]. final Widget? bottomSheet; /// If true the [body] and the scaffold's floating widgets should size