AndrossyOption constructor

const AndrossyOption({
  1. Key? key,
  2. Axis direction = Axis.vertical,
  3. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  4. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  5. MainAxisSize mainAxisSize = MainAxisSize.min,
  6. TextBaseline? textBaseline,
  7. TextDirection? textDirection,
  8. VerticalDirection verticalDirection = VerticalDirection.down,
  9. Clip clipBehavior = Clip.none,
  10. AndrossyOptionProperty<int>? flex,
  11. required AndrossyOptionBuilder builder,
  12. int currentIndex = 0,
  13. int itemCount = 0,
  14. double spaceBetween = 0,
  15. AndrossyOptionCallback? gesture,
  16. 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,
});