diff options
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); - } -} |