flutter_agenda/lib/src/models/agenda_theme.dart

20 lines
635 B
Dart
Raw Normal View History

2022-09-01 10:30:08 +02:00
import 'package:flutter_date_time_picker/flutter_date_time_picker.dart';
import 'package:timetable/timetable.dart';
class AgendaTheme {
2022-09-02 16:21:52 +02:00
/// [AgendaTheme] is a class that contains all styling options
/// for the [AgendaWidget].
/// The underlying [TableTheme] is used for the timetable.
/// The [DateTimePickerTheme] is used for the datepicker.
2022-09-01 10:30:08 +02:00
const AgendaTheme({
this.tableTheme = const TableTheme(),
this.timePickerTheme = const DateTimePickerTheme(),
});
/// The theme for the timetable.
final TableTheme tableTheme;
/// The theme for the datetime picker.
final DateTimePickerTheme timePickerTheme;
}