Nested ScrollView inside Slidable panel widget. You can achieve that with DraggableScrollableSheet. Here is a quick example of how you can use it:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
@override Widget build(BuildContext context) { return Scaffold( body: Stack( children: <Widget>[ Center(child: Text('Some content')), DraggableScrollableSheet( minChildSize: 0.2, initialChildSize: 0.2, builder: (context, scrollController) => Container( color: Colors.lightBlueAccent, child: ListView.builder( controller: scrollController, itemCount: 20, itemBuilder: (context, index) => SizedBox( height: 200, child: Text('Item $index'), ), ), ), ), ], ), ); } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.