DateEventsStyle class
Defines visual properties for DateEvents.
See also:
- TimetableThemeData, which bundles the styles for all Timetable widgets.
Constructors
- DateEventsStyle(BuildContext context, DateTime date, {Duration? minEventDuration, double? minEventHeight, EdgeInsetsGeometry? padding, bool? enableStacking, Duration? minEventDeltaForStacking, double? stackedEventSpacing})
-
factory
- DateEventsStyle.raw({required Duration minEventDuration, required double minEventHeight, required EdgeInsetsGeometry padding, required bool enableStacking, required Duration minEventDeltaForStacking, required double stackedEventSpacing})
-
const
Properties
- enableStacking → bool
-
Controls whether overlapping events may be stacked on top of each other.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- minEventDeltaForStacking → Duration
-
When the start values of two events differ by at least this value, they
may be stacked on top of each other.
final
- minEventDuration → Duration
-
Minimum Duration to size a part-day event.
final
- minEventHeight → double
-
Minimum height to size a part-day event.
final
- padding → EdgeInsetsGeometry
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackedEventSpacing → double
-
Horizontal space between two parallel events stacked on top of each other.
final
Methods
-
copyWith(
{Duration? minEventDuration, double? minEventHeight, EdgeInsetsGeometry? padding, bool? enableStacking, Duration? minEventDeltaForStacking, double? stackedEventSpacing}) → DateEventsStyle -
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.
override