EventLayoutInformation class Layout
Contains all the data needed to layout a single event with the MultiDayLayout.
- Annotations
Constructors
-
EventLayoutInformation({required String id, required int row, required List<
int> columns}) -
EventLayoutInformation.preliminary({required String id, required List<
int> columns}) -
factory
Properties
-
columns
→ List<
int> -
The columns that the event should be laid out on.
final
- end → int
-
The ending column of the event.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of the event.
final
- row → int
-
The row that the event should be laid out on.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
The starting column of the event.
no setter
Methods
-
copyWith(
{int? row, List< int> ? columns}) → EventLayoutInformation - Creates a copy of the EventLayoutInformation with the provided values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overlaps(
EventLayoutInformation other) → bool - Checks if this event overlaps with another EventLayoutInformation.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited