diff options
author | Lisandro Pérez Meyer <lpmeyer@ics.com> | 2023-11-20 17:47:26 -0300 |
---|---|---|
committer | Lisandro Perez Meyer <lpmeyer@ics.com> | 2023-11-21 12:16:40 +0000 |
commit | f533746fd7b07d71a1a3cbec8944056c0d329e84 (patch) | |
tree | 58044a004c0ed38d22cae9d6d2edb031a6f29389 /lib/data/data_providers/datetime_notifier.dart | |
parent | ae9ad191316ea506633c19975a7eb2861e8d17ec (diff) |
Date time updates
Original from Sabin Sajeevan <ssajeevan@ics.com>
Bug-AGL: SPEC-4971
Change-Id: I7a961e57715fdbf8b05f54dfcf8e56159cadd068
Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/data/data_providers/datetime_notifier.dart')
-rw-r--r-- | lib/data/data_providers/datetime_notifier.dart | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/data/data_providers/datetime_notifier.dart b/lib/data/data_providers/datetime_notifier.dart deleted file mode 100644 index 6947a34..0000000 --- a/lib/data/data_providers/datetime_notifier.dart +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:flutter_ics_homescreen/data/models/date_time.dart'; -import 'package:flutter_ics_homescreen/export.dart'; - -class DateTimeNotifier extends StateNotifier<DateAndTime> { - DateTimeNotifier(super.state); - - void setDate(String newVal) { - state = state.copyWith(date: newVal); - } - - void setTime(String newVal) { - state = state.copyWith(time: newVal); - } -} |