AndrossyOption constructor
const
AndrossyOption({
- Key? key,
- Axis direction = Axis.vertical,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.min,
- TextBaseline? textBaseline,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- Clip clipBehavior = Clip.none,
- AndrossyOptionProperty<
int> ? flex, - required AndrossyOptionBuilder builder,
- int currentIndex = 0,
- int itemCount = 0,
- double spaceBetween = 0,
- AndrossyOptionCallback? gesture,
- AndrossyOptionChanged? onChanged,
Implementation
const AndrossyOption({
super.key,
this.direction = Axis.vertical,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.mainAxisAlignment = MainAxisAlignment.start,
this.mainAxisSize = MainAxisSize.min,
this.textBaseline,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.clipBehavior = Clip.none,
this.flex,
required this.builder,
this.currentIndex = 0,
this.itemCount = 0,
this.spaceBetween = 0,
this.gesture,
this.onChanged,
});