DropDownButtonStyle constructor
const
DropDownButtonStyle({
- String resetText = "Reset",
- String confirmText = "Confirm",
- TextStyle resetTextStyle = const TextStyle(fontSize: 14, color: Colors.black),
- TextStyle confirmTextStyle = const TextStyle(fontSize: 14, color: Colors.white),
- FontWeight? resetTextWeight,
- FontWeight? confirmTextWeight,
- TextAlign? resetTextAlign,
- TextAlign? confirmTextAlign,
- Color resetBackgroundColor = const Color(0xFFEEEEEE),
- Color confirmBackgroundColor = Colors.blue,
- double resetElevation = 0,
- double confirmElevation = 0,
- BorderRadius? resetBorderRadius,
- BorderRadius? confirmBorderRadius,
- BorderSide? resetBorderSide,
- BorderSide? confirmBorderSide,
- double resetHeight = 50,
- 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,
});