TolyPopPickerTheme constructor

const TolyPopPickerTheme({
  1. double borderRadius = 12.0,
  2. Color backgroundColor = Colors.white,
  3. Color separatorColor = const Color(0xffE5E3E4),
  4. double separatorHeight = 10.0,
  5. double itemHeight = 52.0,
  6. TextStyle? itemTextStyle = const TextStyle(fontSize: 16, color: Colors.black),
  7. TextStyle? disabledItemTextStyle = const TextStyle(fontSize: 16, color: Colors.grey),
  8. TextStyle? cancelTextStyle = const TextStyle(fontSize: 17, color: Colors.black, fontWeight: FontWeight.bold),
  9. TextStyle? titleTextStyle = const TextStyle(fontSize: 16, color: Colors.black, fontWeight: FontWeight.bold),
  10. double cancelHeight = 50.0,
  11. EdgeInsets? itemPadding,
  12. 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,
});