mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 03:04:55 +00:00
refactor schedule view and cleaning
This commit is contained in:
@ -1,19 +1,19 @@
|
||||
import 'package:flutter/material.dart';
|
||||
// import 'package:flutter/material.dart';
|
||||
|
||||
class ScheduleEntry {
|
||||
final List<bool> selectedDays;
|
||||
final TimeOfDay time;
|
||||
final bool functionOn;
|
||||
final String category;
|
||||
// class ScheduleEntry {
|
||||
// final List<bool> selectedDays;
|
||||
// final TimeOfDay time;
|
||||
// final bool functionOn;
|
||||
// final String category;
|
||||
|
||||
ScheduleEntry({
|
||||
required this.selectedDays,
|
||||
required this.time,
|
||||
required this.functionOn,
|
||||
required this.category,
|
||||
});
|
||||
// ScheduleEntry({
|
||||
// required this.selectedDays,
|
||||
// required this.time,
|
||||
// required this.functionOn,
|
||||
// required this.category,
|
||||
// });
|
||||
|
||||
@override
|
||||
String toString() =>
|
||||
'ScheduleEntry(selectedDays: $selectedDays, time: $time, functionOn: $functionOn)';
|
||||
}
|
||||
// @override
|
||||
// String toString() =>
|
||||
// 'ScheduleEntry(selectedDays: $selectedDays, time: $time, functionOn: $functionOn)';
|
||||
// }
|
||||
Reference in New Issue
Block a user