TableEvent class
Constructors
- TableEvent({required String title, required int eventId, required int laneIndex, String location = '', required TableEventTime startTime, required TableEventTime endTime, EdgeInsets padding = const EdgeInsets.all(10), EdgeInsets margin = const EdgeInsets.all(1), BoxDecoration? decoration, Color backgroundColor = const Color(0xCC2196F3), TextStyle textStyle = const TextStyle(color: Colors.white)})
Properties
- backgroundColor → Color
-
final
- decoration → BoxDecoration?
-
final
- endTime → TableEventTime
-
final
- eventId → int
-
Id to uniquely identify event. Used mainly in callbacks
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- laneIndex → int
-
Id to uniquely identify the lane an event falls under. Used mainly in callbacks
final
- location → String
-
Optional. Preferably abbreviate string to less than 5 characters
final
- margin → EdgeInsets
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → TableEventTime
-
final
- textStyle → TextStyle
-
final
- title → String
-
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