Answers for "how to make bottomsheet flutter swipable"

4

flutter bottomsheet

showModalBottomSheet(
        context: context,
        builder: (context) {
          return Wrap(
            children: const [
              ListTile(
                leading: Icon(Icons.share),
                title: Text('Share'),
              ),
              ListTile(
                leading: Icon(Icons.link),
                title: Text('Get link'),
              ),
              ListTile(
                leading: Icon(Icons.edit),
                title: Text('Edit name'),
              ),
              ListTile(
                leading: Icon(Icons.delete),
                title: Text('Delete collection'),
              ),
            ],
          );
        });
Posted by: Guest on August-23-2021
0

bottomsheet shape flutter

Inside showModalBottomSheet you can use a property
  "shape" to display a bottomSheet with circlar shape 
  shape: RoundedRectangleBorder(
     borderRadius: BorderRadius.circular(10.0),
  ),
Posted by: Guest on September-20-2021

Code answers related to "how to make bottomsheet flutter swipable"

Browse Popular Code Answers by Language