TolyPopPickerTheme constructor
const
TolyPopPickerTheme({
- double borderRadius = 12.0,
- Color backgroundColor = Colors.white,
- Color separatorColor = const Color(0xffE5E3E4),
- double separatorHeight = 10.0,
- double itemHeight = 52.0,
- TextStyle? itemTextStyle = const TextStyle(fontSize: 16, color: Colors.black),
- TextStyle? disabledItemTextStyle = const TextStyle(fontSize: 16, color: Colors.grey),
- TextStyle? cancelTextStyle = const TextStyle(fontSize: 17, color: Colors.black, fontWeight: FontWeight.bold),
- TextStyle? titleTextStyle = const TextStyle(fontSize: 16, color: Colors.black, fontWeight: FontWeight.bold),
- double cancelHeight = 50.0,
- EdgeInsets? itemPadding,
- EdgeInsets? titlePadding,
Implementation
const TolyPopPickerTheme({
this.borderRadius = 12.0,
this.backgroundColor = Colors.white,
this.separatorColor = const Color(0xffE5E3E4),
this.separatorHeight = 10.0,
this.itemHeight = 52.0,
this.itemTextStyle = const TextStyle(fontSize: 16, color: Colors.black),
this.disabledItemTextStyle = const TextStyle(
fontSize: 16, color: Colors.grey),
this.cancelTextStyle = const TextStyle(
fontSize: 17, color: Colors.black, fontWeight: FontWeight.bold),
this.titleTextStyle= const TextStyle(fontSize: 16, color: Colors.black,fontWeight: FontWeight.bold),
this.cancelHeight = 50.0,
this.itemPadding,
this.titlePadding,
});