You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Leading: A widget to display before the toolbar's title.
11
12
finalWidget? leading;
13
+
14
+
/// Title: A Widget to display title in AppBar
12
15
finalWidget title;
16
+
17
+
/// Center Title: Allows toggling of title from the center. By default title is in the center.
13
18
finalbool centerTitle;
19
+
20
+
/// Action: A list of Widgets to display in a row after the title widget.
14
21
finalList<Widget>? actions;
22
+
23
+
/// Always Show Leading And Action : This make Leading and Action always visible. Default value is false.
15
24
finalbool alwaysShowLeadingAndAction;
25
+
26
+
/// Drawer: Drawers are typically used with the Scaffold.drawer property.
16
27
finalWidget? drawer;
28
+
29
+
/// Header Expanded Height : Height of the header widget. The height is a double between 0.0 and 1.0. The default value of height is 0.35 and should be less than stretchMaxHeigh
17
30
finaldouble headerExpandedHeight;
31
+
32
+
/// Header Widget: A widget to display Header above body.
18
33
finalWidget headerWidget;
34
+
35
+
/// headerBottomBar: AppBar or toolBar like widget just above the body.
36
+
19
37
finalWidget? headerBottomBar;
38
+
39
+
/// backgroundColor: The color of the Material widget that underlies the entire DraggableHome body.
20
40
finalColor? backgroundColor;
41
+
42
+
/// curvedBodyRadius: Creates a border top left and top right radius of body, Default radius of the body is 20.0. For no radius simply set value to 0.
21
43
finaldouble curvedBodyRadius;
44
+
45
+
/// body: A widget to Body
22
46
finalList<Widget> body;
47
+
48
+
/// fullyStretchable: Allows toggling of fully expand draggability of the DraggableHome. Set this to true to allow the user to fully expand the header.
23
49
finalbool fullyStretchable;
50
+
51
+
/// stretchTriggerOffset: The offset of overscroll required to fully expand the header.
24
52
finaldouble stretchTriggerOffset;
53
+
54
+
/// expandedBody: A widget to display when fully expanded as header or expandedBody above body.
25
55
finalWidget? expandedBody;
56
+
57
+
/// stretchMaxHeight: Height of the expandedBody widget. The height is a double between 0.0 and 0.95. The default value of height is 0.9 and should be greater than headerExpandedHeight
26
58
finaldouble stretchMaxHeight;
59
+
60
+
/// floatingActionButton: An object that defines a position for the FloatingActionButton based on the Scaffold's ScaffoldPrelayoutGeometry.
27
61
finalWidget? floatingActionButton;
62
+
63
+
/// bottomSheet: A persistent bottom sheet shows information that supplements the primary content of the app. A persistent bottom sheet remains visible even when the user interacts with other parts of the app.
28
64
finalWidget? bottomSheet;
65
+
66
+
/// bottomNavigationBarHeight: This is requires when using custom height to adjust body height. This make no effect on bottomNavigationBar.
29
67
finaldouble? bottomNavigationBarHeight;
68
+
69
+
/// bottomNavigationBar: Snack bars slide from underneath the bottom navigation bar while bottom sheets are stacked on top.
30
70
finalWidget? bottomNavigationBar;
71
+
72
+
/// floatingActionButtonLocation: An object that defines a position for the FloatingActionButton based on the Scaffold's ScaffoldPrelayoutGeometry.
0 commit comments