MySegmGridChooser constructor

const MySegmGridChooser(
  1. List<String> data, {
  2. Key? key,
  3. Function? onChoosed,
  4. double itemLang = 48.0,
  5. double? width,
  6. double mainSpace = 2.0,
  7. double height = 20.0,
  8. required IndexedWidgetBuilder itemBuilder,
  9. IndexedWidgetBuilder? itemCurrentBuilder,
  10. double crossSpace = 5.0,
  11. int span = 1,
  12. bool canScroll = true,
  13. Function? onChooseIndex,
  14. Axis direction = Axis.vertical,
  15. Function? lenCalulator,
})

Implementation

const MySegmGridChooser(this.data,
    {Key? key,
    this.onChoosed,
    this.itemLang = 48.0,
    this.width,
    this.mainSpace = 2.0,
    this.height = 20.0,
    required this.itemBuilder,
    this.itemCurrentBuilder,
    this.crossSpace = 5.0,
    this.span = 1,
    this.canScroll = true,
    this.onChooseIndex,
    this.direction = Axis.vertical,
    this.lenCalulator})
    : super(key: key);