TreeSelect constructor

TreeSelect({
  1. Key? key,
  2. required List<SideBarItem> list,
  3. int mainActiveIndex = 0,
  4. List<int>? activeId,
  5. double height = 300,
  6. int max = 1,
  7. dynamic onChange(
    1. List<int?>? list
    )?,
})

Implementation

TreeSelect(
    {Key? key,
    required this.list,
    this.mainActiveIndex: 0,
    this.activeId,
    this.height: 300,
    this.max: 1,
    this.onChange})
    : super(key: key);