Skip to content

Commit 40a0724

Browse files
committed
bottomsheet chnages
1 parent ca447a0 commit 40a0724

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/lib/main_temp.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) =>

lib/components/bottom_sheet/gf_bottom_sheet.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GFBottomSheet extends StatefulWidget {
5959

6060
class _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
};

0 commit comments

Comments
 (0)