ArcaneScrollRail constructor

const ArcaneScrollRail({
  1. required List<Widget> children,
  2. ScrollRailPosition position = ScrollRailPosition.left,
  3. ScrollRailSize size = ScrollRailSize.md,
  4. String? width,
  5. String topOffset = '0px',
  6. String bottomOffset = '0px',
  7. bool showBorder = true,
  8. String? background,
  9. String padding = '1rem',
  10. bool customScrollbar = true,
  11. String? scrollPersistenceId,
  12. Key? key,
})

Implementation

const ArcaneScrollRail({
  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,
  super.key,
});