pub enum Scrollbars {
Never,
Always,
}Expand description
When a scroll area draws a scrollbar (app.dart:857).
The reference asks this question per platform and answers it no on every touch screen: a finger already knows where it is on the page, and a permanent bar over the content is a desktop affordance for a pointer that cannot feel the edges. Along the horizontal axis the answer is no everywhere, on every platform.
Variants§
Never
Never — what a touch screen gets (app.dart:870).
Always
One bar down the inner edge (app.dart:865), for the platforms whose own scroll
views have one.
Trait Implementations§
Source§impl Clone for Scrollbars
impl Clone for Scrollbars
impl Copy for Scrollbars
Source§impl Debug for Scrollbars
impl Debug for Scrollbars
impl Eq for Scrollbars
Source§impl PartialEq for Scrollbars
impl PartialEq for Scrollbars
impl StructuralPartialEq for Scrollbars
Auto Trait Implementations§
impl Freeze for Scrollbars
impl RefUnwindSafe for Scrollbars
impl Send for Scrollbars
impl Sync for Scrollbars
impl Unpin for Scrollbars
impl UnsafeUnpin for Scrollbars
impl UnwindSafe for Scrollbars
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more