mirror of
https://github.com/Iconica-Development/flutter_agenda.git
synced 2025-05-18 21:03:45 +02:00
24 lines
728 B
Dart
24 lines
728 B
Dart
// SPDX-FileCopyrightText: 2022 Iconica
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import 'package:flutter_date_time_picker/flutter_date_time_picker.dart';
|
|
import 'package:flutter_timetable/timetable.dart';
|
|
|
|
class AgendaTheme {
|
|
/// [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.
|
|
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;
|
|
}
|