PickerDetail constructor Null safety

PickerDetail(
  1. {required ScreenUtil screenUtil,
  2. Color? textColor,
  3. required FixedExtentScrollController controller,
  4. required int expand,
  5. required double curveAmount,
  6. required List<Center> display,
  7. required Function method,
  8. double? leftRadius,
  9. double? rightRadius}
)

Implementation

PickerDetail(
    {required this.screenUtil,
    this.textColor,
    required this.controller,
    required this.expand,
    required this.curveAmount,
    required this.display,
    required this.method,
    this.leftRadius,
    this.rightRadius});