Unverified Commit a167610e authored by Tonic Artos's avatar Tonic Artos Committed by GitHub

Remove superfluous GestureDetector. (#60730)

parent ff6b7809
...@@ -1632,12 +1632,7 @@ class _DetailView extends StatelessWidget { ...@@ -1632,12 +1632,7 @@ class _DetailView extends StatelessWidget {
final double screenHeight = MediaQuery.of(context).size.height; final double screenHeight = MediaQuery.of(context).size.height;
final double minHeight = (screenHeight - kToolbarHeight) / screenHeight; final double minHeight = (screenHeight - kToolbarHeight) / screenHeight;
return GestureDetector( return DraggableScrollableSheet(
onTap: () {
print('draggable');
},
behavior: HitTestBehavior.deferToChild,
child: DraggableScrollableSheet(
initialChildSize: minHeight, initialChildSize: minHeight,
minChildSize: minHeight, minChildSize: minHeight,
maxChildSize: 1, maxChildSize: 1,
...@@ -1663,7 +1658,6 @@ class _DetailView extends StatelessWidget { ...@@ -1663,7 +1658,6 @@ class _DetailView extends StatelessWidget {
), ),
); );
}, },
),
); );
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment