MyPicker constructor

MyPicker({
  1. Key? key,
  2. CreateWidgetList? createWidgetList,
  3. ValueChanged<int>? changed,
  4. ScrollBehavior? scrollBehavior,
  5. double itemExtent = 45,
  6. FixedExtentScrollController? controller,
  7. Color backgroundColor = Colors.white,
  8. Color? lineColor,
})

Implementation

MyPicker({
  Key? key,
  this.createWidgetList,
  this.changed,
  this.scrollBehavior,
  this.itemExtent = 45,
  this.controller,
  this.backgroundColor = Colors.white,
  this.lineColor,
}) : super(key: key);