YmCascader constructor

YmCascader(
  1. List<List<Map>> data, {
  2. Key? key,
  3. required Function onChanged,
  4. required Function onOkClick,
  5. required Function onCancelClick,
  6. double itemHeight = 36,
  7. Color backgroundColor = const Color(0xffffffff),
  8. List<int> currentIndex = const [0, 0, 0, 0, 0],
})

Implementation

YmCascader(
  this.data, {
  Key? key,
  required this.onChanged,
  required this.onOkClick,
  required this.onCancelClick,
  this.itemHeight = 36,
  this.backgroundColor = const Color(0xffffffff),
  this.currentIndex = const [0, 0, 0, 0, 0],
}) : super(key: key);