WeekViewController class

Allows to control some parameters of a week view.

Inheritance

Constructors

WeekViewController({double zoomCoefficient = 0.8, double? minZoom, double? maxZoom})
Creates a new week view controller.

Properties

contentOffset double
For maintain the position of the pinch focal point position (vertical)
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
maxZoom double
The maximum zoom factor.
finalinherited
minZoom double
The minimum zoom factor.
finalinherited
previousZoomFactor double
The previous zoom factor.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
Returns the current scale.
no setterinherited
zoomCoefficient double
The zoom coefficient (<= 0 to disable).
finalinherited
zoomFactor double
Returns the current zoom factor.
getter/setter pairinherited

Methods

addListener(ZoomControllerListener listener) → void
Adds a listener.
inherited
calculateZoomFactor(double scale) double
Calculates a zoom factor according to the specified scale.
inherited
changeZoomFactor(double zoomFactor, {bool notify = true, ScaleUpdateDetails? details}) → void
Changes the current zoom factor.
override
dispose() → void
Disposes this controller if enabled. You should not use it anymore after having called this method.
override
getDayViewController(DateTime date) DayViewController
Returns the day view controller associated with the specified date.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(ZoomControllerListener listener) → void
Removes a listener.
inherited
scaleStart(ScaleStartDetails details) → void
Should be called when the scale operation start.
override
scaleUpdate(ScaleUpdateDetails details) → void
Should be called when the scale operation has an update.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited