YmPicker constructor

YmPicker(
  1. List<Map> data, {
  2. Key? key,
  3. String label = "",
  4. int currentIndex = 0,
  5. double itemHeight = 36,
  6. Color backgroundColor = const Color(0xffffffff),
  7. double height = 150,
  8. double width = 150,
  9. required Function onChanged,
})

Implementation

YmPicker(
  this.data, {
  Key? key,
  this.label = "",
  this.currentIndex = 0,
  this.itemHeight = 36,
  this.backgroundColor = const Color(0xffffffff),
  this.height = 150,
  this.width = 150,
  required this.onChanged,
}) : super(key: key);