TimetableStyle constructor
const
TimetableStyle({
- int startHour = 0,
- int endHour = 24,
- Color laneColor = Colors.white,
- Color cornerColor = Colors.white,
- Color timelineColor = Colors.white,
- Color timelineItemColor = Colors.white,
- Color mainBackgroundColor = Colors.white,
- Color decorationLineBorderColor = const Color(0x1A000000),
- Color timelineBorderColor = const Color(0x1A000000),
- Color timeItemTextColor = Colors.blue,
- double laneWidth = 300,
- double laneHeight = 35,
- double timeItemHeight = 75,
- double timeItemWidth = 70,
- double decorationLineHeight = 20,
- double decorationLineDashWidth = 9,
- double decorationLineDashSpaceWidth = 4,
- bool visibleTimeBorder = true,
- bool visibleDecorationBorder = false,
- Alignment timeItemAlignment = Alignment.center,
- bool showTimeAsAMPM = false,
Implementation
const TimetableStyle(
{this.startHour: 0,
this.endHour: 24,
this.laneColor: Colors.white,
this.cornerColor: Colors.white,
this.timelineColor: Colors.white,
this.timelineItemColor: Colors.white,
this.mainBackgroundColor: Colors.white,
this.decorationLineBorderColor: const Color(0x1A000000),
this.timelineBorderColor: const Color(0x1A000000),
this.timeItemTextColor: Colors.blue,
this.laneWidth: 300,
this.laneHeight: 35,
this.timeItemHeight: 75,
this.timeItemWidth: 70,
this.decorationLineHeight: 20,
this.decorationLineDashWidth: 9,
this.decorationLineDashSpaceWidth: 4,
this.visibleTimeBorder: true,
this.visibleDecorationBorder: false,
this.timeItemAlignment: Alignment.center,
this.showTimeAsAMPM: false});