We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba7d2d3 commit b09ef8bCopy full SHA for b09ef8b
19_persistent_bottom_sheet/lib/main.dart
@@ -46,8 +46,8 @@ class MyHomePageState extends State<MyHomePage> {
46
return Center(
47
child: RaisedButton(
48
child: Text(_isSheetOpen
49
- ? 'Open the bottom sheet'
50
- : 'Close the bottom sheet'),
+ ? 'Close the bottom sheet'
+ : 'Open the bottom sheet'),
51
onPressed: () {
52
// If there's no bottom sheet, create a new one
53
if (!_isSheetOpen) _controller = _showBottomSheet(context);
0 commit comments