AnimatedRailRaw constructor

const AnimatedRailRaw({
  1. Key? key,
  2. BoxConstraints constraints = const BoxConstraints(),
  3. double width = 100,
  4. double maxWidth = 350,
  5. TextDirection? direction,
  6. List<RailItem> items = const [],
  7. int? selectedIndex,
  8. Color? background,
  9. ValueChanged<int>? onTap,
  10. bool expand = true,
  11. bool isStatic = false,
  12. ValueChanged<int>? onChange,
  13. ItemBuilder? builder,
  14. Size? cursorSize,
  15. RailTileConfig? railTileConfig,
  16. CursorActionTrigger cursorActionType = CursorActionTrigger.drag,
})

Implementation

const AnimatedRailRaw({
  Key? key,
  this.constraints = const BoxConstraints(),
  this.width = 100,
  this.maxWidth = 350,
  this.direction,
  this.items = const [],
  this.selectedIndex,
  this.background,
  this.onTap,
  this.expand = true,
  this.isStatic = false,
  this.onChange,
  this.builder,
  this.cursorSize,
  this.railTileConfig,
  this.cursorActionType = CursorActionTrigger.drag,
}) : super(key: key);