When the total duration of the timeline is about 200 days, this is the maximum zoom possible.

Is there any way I can provide max & min zoom levels?
Note:
I noticed a pixelPerSeconds measure throughout the plugin source. Would that be an appropriate measure for larger durations? Could it introduce problems due to double accuracy?
Edit:
Oh wait, there is no zoom limit. I can zoom more and more, but each time I zoom, it zooms less and less. At the end it gets really laggy and I have to do the zoom gesture multiple times to zoom even a little bit. And the app freezes after that.
I don't know the reason for this, but if the reason is Flutter being overwhelmed by the length of the TimelineEditorBox, you may have to render only the part of the TimelineEditorBox that is visible by dynamically resizing the Box just enough to cover the visible width. When the user scrolls, the box size & position should readjust.
A double variable reaching 0 or Inf could also be the reason for this behavior.
When the total duration of the timeline is about 200 days, this is the maximum zoom possible.
Is there any way I can provide max & min zoom levels?
Note:
I noticed a
pixelPerSecondsmeasure throughout the plugin source. Would that be an appropriate measure for larger durations? Could it introduce problems due todoubleaccuracy?Edit:
Oh wait, there is no zoom limit. I can zoom more and more, but each time I zoom, it zooms less and less. At the end it gets really laggy and I have to do the zoom gesture multiple times to zoom even a little bit. And the app freezes after that.
I don't know the reason for this, but if the reason is Flutter being overwhelmed by the length of the
TimelineEditorBox, you may have to render only the part of theTimelineEditorBoxthat is visible by dynamically resizing the Box just enough to cover the visible width. When the user scrolls, the box size & position should readjust.A double variable reaching
0orInfcould also be the reason for this behavior.