DefaultPickerStyle constructor
Implementation
DefaultPickerStyle({bool haveRadius: false, String? title}) {
if (haveRadius) {
this.headDecoration = BoxDecoration(
color: Colors.white,
borderRadius: const BorderRadius.only(topLeft: Radius.circular(10), topRight: Radius.circular(10)));
}
if (title != null && title != '') {
this.title = Center(child: Text(title, style: TextStyle(color: Colors.grey, fontSize: 14)));
}
}