TimetableStyle class
Constructors
- 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})
-
const
Properties
- cornerColor → Color
-
final
- decorationLineBorderColor → Color
-
final
- decorationLineDashSpaceWidth → double
-
final
- decorationLineDashWidth → double
-
final
- decorationLineHeight → double
-
final
- endHour → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- laneColor → Color
-
final
- laneHeight → double
-
final
- laneWidth → double
-
final
- mainBackgroundColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTimeAsAMPM → bool
-
If the time should be displayed as 24 hours or 12 hour (Am & PM)
final
- startHour → int
-
final
- timeItemAlignment → Alignment
-
final
- timeItemHeight → double
-
final
- timeItemTextColor → Color
-
final
- timeItemWidth → double
-
final
- timelineBorderColor → Color
-
final
- timelineColor → Color
-
final
- timelineItemColor → Color
-
final
- visibleDecorationBorder → bool
-
final
- visibleTimeBorder → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited