TitleDropdown constructor
const
TitleDropdown({
- Key? key,
- required List dwItems,
- String? title,
- required String? dwValue,
- required Function onChange,
- double? height,
- double? width,
- Color? bgColor,
- Color? rightIconColor,
- Color? borderColor,
- String? hintText,
- Color? textColor,
- Color? itemColor,
- double? circularBorderRadius,
- TextStyle? hintTextStyle,
- TextStyle? textStyle,
- TextStyle? titleStyle,
- double? horizontalContentPadding,
- bool isFillColor = false,
- bool isBorder = true,
- bool isTitle = true,
- bool isRightIcon = true,
- String? viewKey,
- String? valueKey,
- DropdownListType? type = DropdownListType.none,
- double? marginHorizontal,
- double? marginVertical,
- double? marginTop,
- double? marginLeft,
- double? marginRight,
- double? marginBottom,
- Color? fillColor,
- IconData? dropDownIconData,
- Color? rightIconBgColor,
- String? additionFlagText,
Implementation
const TitleDropdown({
super.key,
required this.dwItems,
this.title,
required this.dwValue,
required this.onChange,
this.height,
this.width,
this.bgColor,
this.rightIconColor,
this.borderColor,
this.hintText,
this.textColor,
this.itemColor,
this.circularBorderRadius,
this.hintTextStyle,
this.textStyle,
this.titleStyle,
this.horizontalContentPadding,
this.isFillColor = false,
this.isBorder = true,
this.isTitle = true,
this.isRightIcon = true,
this.viewKey,
this.valueKey,
this.type = DropdownListType.none,
this.marginHorizontal,
this.marginVertical,
this.marginTop,
this.marginLeft,
this.marginRight,
this.marginBottom,
this.fillColor,
this.dropDownIconData,
this.rightIconBgColor,
this.additionFlagText,
});