Skip to content

Commit b09ef8b

Browse files
committed
Fixed backwards button text
1 parent ba7d2d3 commit b09ef8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

19_persistent_bottom_sheet/lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class MyHomePageState extends State<MyHomePage> {
4646
return Center(
4747
child: RaisedButton(
4848
child: Text(_isSheetOpen
49-
? 'Open the bottom sheet'
50-
: 'Close the bottom sheet'),
49+
? 'Close the bottom sheet'
50+
: 'Open the bottom sheet'),
5151
onPressed: () {
5252
// If there's no bottom sheet, create a new one
5353
if (!_isSheetOpen) _controller = _showBottomSheet(context);

0 commit comments

Comments
 (0)