Expand description
Scrollables let users navigate an endless amount of content with a scrollbar.
§Example
use iced::widget::{column, scrollable, vertical_space};
enum Message {
    // ...
}
fn view(state: &State) -> Element<'_, Message> {
    scrollable(column![
        "Scroll me!",
        vertical_space().height(3000),
        "You did it!",
    ]).into()
}Structs§
- Absolute
Offset  - The amount of absolute offset in each direction of a 
Scrollable. - Rail
 - The appearance of the scrollbar of a scrollable.
 - Relative
Offset  - The amount of relative offset in each direction of a 
Scrollable. - Scrollable
 - A widget that can vertically display an infinite amount of content with a scrollbar.
 - Scrollbar
 - A scrollbar within a 
Scrollable. - Scroller
 - The appearance of the scroller of a scrollable.
 - Style
 - The appearance of a scrollable.
 - Viewport
 - The current 
Viewportof theScrollable. 
Enums§
- Anchor
 - The anchor of the scroller of the 
Scrollablerelative to itsViewporton a given axis. - Direction
 - The direction of 
Scrollable. - Status
 - The possible status of a 
Scrollable. 
Traits§
- Catalog
 - The theme catalog of a 
Scrollable. 
Functions§
- default
 - The default style of a 
Scrollable. - scroll_
by  - Produces a 
Taskthat scrolls theScrollablewith the givenIdby the providedAbsoluteOffset. - scroll_
to  - Produces a 
Taskthat scrolls theScrollablewith the givenIdto the providedAbsoluteOffset. - snap_to
 - Produces a 
Taskthat snaps theScrollablewith the givenIdto the providedRelativeOffset. 
Type Aliases§
- StyleFn
 - A styling function for a 
Scrollable.