TimetableStyle constructor

const TimetableStyle({
  1. int startHour = 0,
  2. int endHour = 24,
  3. Color laneColor = Colors.white,
  4. Color cornerColor = Colors.white,
  5. Color timelineColor = Colors.white,
  6. Color timelineItemColor = Colors.white,
  7. Color mainBackgroundColor = Colors.white,
  8. Color decorationLineBorderColor = const Color(0x1A000000),
  9. Color timelineBorderColor = const Color(0x1A000000),
  10. Color timeItemTextColor = Colors.blue,
  11. double laneWidth = 300,
  12. double laneHeight = 35,
  13. double timeItemHeight = 75,
  14. double timeItemWidth = 70,
  15. double decorationLineHeight = 20,
  16. double decorationLineDashWidth = 9,
  17. double decorationLineDashSpaceWidth = 4,
  18. bool visibleTimeBorder = true,
  19. bool visibleDecorationBorder = false,
  20. Alignment timeItemAlignment = Alignment.center,
  21. 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});