I'm new to Flutter and I'm making a todo app. I have used alertdialog in the application and I want to add a widget that can be managed with tiles in a list view with a button, just like in the picture, how can I do this?
showDialog<String>(
context: context,
builder: (BuildContext context) => AlertDialog(
title: const Text('AlertDialog Title'),
content: const Text('AlertDialog description'),
actions: <Widget>[
TextButton(
onPressed: () => Navigator.pop(context, 'Cancel'),
child: const Text('Cancel'),
),
IconButton(
onPressed: (){},
icon: const Icon(Icons.save),)
],
),
),
make use of IconButton Widget to get save icon