Skip to content

Commit 1877efe

Browse files
authored
Add documentation references to BottomSheetThemeData (#107149)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
1 parent f396e28 commit 1877efe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/flutter/lib/src/material/bottom_sheet.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ typedef BottomSheetDragEndHandler = void Function(
6161
/// non-modal "persistent" bottom sheets.
6262
/// * [showModalBottomSheet], which can be used to display a modal bottom
6363
/// sheet.
64+
/// * [BottomSheetThemeData], which can be used to customize the default
65+
/// bottom sheet property values.
6466
/// * <https://material.io/design/components/sheets-bottom.html>
6567
class BottomSheet extends StatefulWidget {
6668
/// Creates a bottom sheet.

packages/flutter/lib/src/material/scaffold.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,8 @@ class Scaffold extends StatefulWidget {
17361736
/// * [showBottomSheet], which displays a bottom sheet as a route that can
17371737
/// be dismissed with the scaffold's back button.
17381738
/// * [showModalBottomSheet], which displays a modal bottom sheet.
1739+
/// * [BottomSheetThemeData], which can be used to customize the default
1740+
/// bottom sheet property values when using a [BottomSheet].
17391741
final Widget? bottomSheet;
17401742

17411743
/// If true the [body] and the scaffold's floating widgets should size

0 commit comments

Comments
 (0)