MyPicker constructor
MyPicker({
- Key? key,
- CreateWidgetList? createWidgetList,
- ValueChanged<
int> ? changed, - ScrollBehavior? scrollBehavior,
- double itemExtent = 45,
- FixedExtentScrollController? controller,
- Color backgroundColor = Colors.white,
- 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);