SlidesView

SlidesView(幻灯片视图)小部件代表幻灯片的容器,用于管理幻灯片的布局、渲染和动画。它允许幻灯片之间的平滑过渡。

The SlidesView widget represents a container for slides, managing their layout, rendering, and animations. It allows for smooth transitions between slides.

Props

decoratenametypedescription
layoutlayoutLayoutLayout properties for arranging the slides.
rustareaAreaRendering area of the slides.
walkwalkWalkWalking properties to define how the slides occupy space.
rustchildrenComponentMap<LiveId, WidgetRef>Map of child widgets representing individual slides.
rustdraw_orderVec<LiveId>Order in which slides are drawn.
rustnext_frameNextFrameManages the scheduling of the next frame for animations.
livecurrent_slidef64Index of the currently visible slide.
livegoal_slidef64Target slide index for animations.
liveanim_speedf64Speed of the slide transition animations.
rustdraw_stateDrawStateWrap<DrawState>Manages the state of the drawing process.

Event

No events defined for this widget.