pickerStyle function

PickerStyle pickerStyle(
  1. Widget title
)

Implementation

PickerStyle pickerStyle(Widget title) {
  return PickerStyle(
    headDecoration: BoxDecoration(
      color: Colors.white,
      borderRadius: BorderRadius.only(
        topLeft: Radius.circular(10),
        topRight: Radius.circular(1),
      ),
    ),
    commitButton: Padding(
      padding: EdgeInsets.only(right: 15),
      child: title,
    ),
  );
}