ScrollRailProps constructor
const
ScrollRailProps({
- required List<
Widget> children, - ScrollRailPosition position = ScrollRailPosition.left,
- ScrollRailSize size = ScrollRailSize.md,
- String? width,
- String topOffset = '0px',
- String bottomOffset = '0px',
- bool showBorder = true,
- String? background,
- String padding = '1rem',
- bool customScrollbar = true,
- String? scrollPersistenceId,
Implementation
const ScrollRailProps({
required this.children,
this.position = ScrollRailPosition.left,
this.size = ScrollRailSize.md,
this.width,
this.topOffset = '0px',
this.bottomOffset = '0px',
this.showBorder = true,
this.background,
this.padding = '1rem',
this.customScrollbar = true,
this.scrollPersistenceId,
});