@@ -35,21 +35,21 @@ class GFBottomSheet extends StatefulWidget {
3535 final Widget stickyHeader;
3636
3737 /// [contentBody] is the body of GFBottomSheet.
38- /// User can interact by tapping the [contentBody]
38+ /// User can interact by swiping or tapping the [contentBody]
3939 final Widget contentBody;
4040
4141 /// [stickyFooter] is the footer of GFBottomSheet.
4242 /// User can interact by swiping or tapping the [stickyFooter]
4343 final Widget stickyFooter;
4444
45- /// [stickyFooterHeight] defines the height of GFBottomSheet footer .
45+ /// [stickyFooterHeight] defines the height of GFBottomSheet's [stickyFooter] .
4646 final double stickyFooterHeight;
4747
48- /// [stickyHeaderHeight] defines the height of GFBottomSheet footer .
48+ /// [stickyHeaderHeight] defines the height of GFBottomSheet's [stickyHeader] .
4949 final double stickyHeaderHeight;
5050
5151 /// [elevation] controls shadow below the GFBottomSheet material.
52- /// Must be greater or equalto 0. Default value is 0.
52+ /// Must be greater or equal to 0. Default value is 0.
5353 final double elevation;
5454
5555 ///[enableExpandableContent] allows [contentBody] to expand.
@@ -69,10 +69,10 @@ class GFBottomSheet extends StatefulWidget {
6969
7070class _GFBottomSheetState extends State <GFBottomSheet >
7171 with TickerProviderStateMixin {
72+ final StreamController <double > controller = StreamController .broadcast ();
7273 bool isDragDirectionUp;
7374 bool showBottomSheet = false ;
7475 Function _controllerListener;
75- final StreamController <double > controller = StreamController .broadcast ();
7676 double position;
7777 bool showContent = false ;
7878
0 commit comments