clear before notificaciones

This commit is contained in:
Felipe
2024-04-20 11:39:01 -05:00
parent c874178019
commit 34135b25e1
6 changed files with 34 additions and 21 deletions
+12
View File
@@ -486,6 +486,18 @@ class _UserMapScreenState extends State<UserMapScreen> {
} else {
// TODO: error inesperado
}
// clear inputs
fechaSeleccionada = null;
horaSeleccionada = null;
profesionalSeleccionado = null;
isClearButtonVisible = false;
_observationController.text = '';
serviceLocationPreference = null;
polylines.clear();
markers.clear();
setState(() {});
},
style: FilledButton.styleFrom(
backgroundColor: Theme.of(context).colorScheme.primary,