ArcaneScrollRail.right constructor

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

Implementation

const ArcaneScrollRail.right({
  required this.children,
  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,
}) : position = ScrollRailPosition.right;