File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/components/bottom_sheet Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class _MyHomePageState extends State<MyHomePage> with SingleTickerProviderStateM
139139 ),
140140 ),
141141 contentBody: Container (
142- color: Colors .white ,
142+ color: Colors .teal ,
143143 child: ListView .builder (
144144 itemCount: 10 ,
145145 itemBuilder: (context, index) =>
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class GFBottomSheet extends StatefulWidget {
5959
6060class _GFBottomSheetState extends State <GFBottomSheet > with TickerProviderStateMixin {
6161 bool isDragDirectionUp;
62- bool showOnAppear = false ;
62+ bool showBottomSheet = false ;
6363
6464 void _onVerticalDragUpdate (data) {
6565 _setNativeSmoothness ();
@@ -99,7 +99,7 @@ class _GFBottomSheetState extends State<GFBottomSheet> with TickerProviderState
9999// upperBound: 1.0,
100100// );
101101// _controller.addStatusListener(_controllerListener);
102- widget.controller.value = showOnAppear ;
102+ widget.controller.value = showBottomSheet ;
103103 _controllerListener = () {
104104 widget.controller.value ? _show () : _hide ();
105105 };
You can’t perform that action at this time.
0 commit comments