Add locations and save them, remove locations and delete them

This commit is contained in:
Konstantin Kollar
2022-09-05 11:59:52 +02:00
parent 730634bdb2
commit e96a33f0a3
6 changed files with 75 additions and 48 deletions
@@ -15,7 +15,9 @@ class ManageSingleLocation extends StatelessWidget {
child: Row(children: [
Text(name, style: Theme.of(context).textTheme.headline5),
const Spacer(),
const Icon(Icons.delete_sharp)
GestureDetector(
onTap: () => delete(name),
child: const Icon(Icons.delete_sharp))
])));
}
}