DropDownButtonStyle constructor

const DropDownButtonStyle({
  1. String resetText = "Reset",
  2. String confirmText = "Confirm",
  3. TextStyle resetTextStyle = const TextStyle(fontSize: 14, color: Colors.black),
  4. TextStyle confirmTextStyle = const TextStyle(fontSize: 14, color: Colors.white),
  5. FontWeight? resetTextWeight,
  6. FontWeight? confirmTextWeight,
  7. TextAlign? resetTextAlign,
  8. TextAlign? confirmTextAlign,
  9. Color resetBackgroundColor = const Color(0xFFEEEEEE),
  10. Color confirmBackgroundColor = Colors.blue,
  11. double resetElevation = 0,
  12. double confirmElevation = 0,
  13. BorderRadius? resetBorderRadius,
  14. BorderRadius? confirmBorderRadius,
  15. BorderSide? resetBorderSide,
  16. BorderSide? confirmBorderSide,
  17. double resetHeight = 50,
  18. double confirmHeight = 50,
})

Implementation

const DropDownButtonStyle({
  this.resetText = "Reset",
  this.confirmText = "Confirm",
  this.resetTextStyle = const TextStyle(fontSize: 14, color: Colors.black),
  this.confirmTextStyle = const TextStyle(fontSize: 14, color: Colors.white),
  this.resetTextWeight,
  this.confirmTextWeight,
  this.resetTextAlign,
  this.confirmTextAlign,
  this.resetBackgroundColor = const Color(0xFFEEEEEE),
  this.confirmBackgroundColor = Colors.blue,
  this.resetElevation = 0,
  this.confirmElevation = 0,
  this.resetBorderRadius,
  this.confirmBorderRadius,
  this.resetBorderSide,
  this.confirmBorderSide,
  this.resetHeight = 50,
  this.confirmHeight = 50,
});