Answers for "custom bottomSheet flutter"

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

Browse Popular Code Answers by Language