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