AnimatedRailRaw constructor
const
AnimatedRailRaw({
- Key? key,
- BoxConstraints constraints = const BoxConstraints(),
- double width = 100,
- double maxWidth = 350,
- TextDirection? direction,
- List<
RailItem> items = const [], - int? selectedIndex,
- Color? background,
- ValueChanged<
int> ? onTap, - bool expand = true,
- bool isStatic = false,
- ValueChanged<
int> ? onChange, - ItemBuilder? builder,
- Size? cursorSize,
- RailTileConfig? railTileConfig,
- 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);