SimpDropDown constructor
const
SimpDropDown({
- Key? key,
- required List items,
- required String btnLabel,
- required void onChanged()?,
- String? upField,
- double borderRadius = 5,
- double height = 40,
- double width = 150,
- double borderWid = 1,
- Color borderColor = Colors.black,
- IconData ico = Icons.arrow_drop_down,
- double icoSize = 30,
- Color fontColor = Colors.black,
Implementation
const SimpDropDown({
super.key,
required this.items,
required this.btnLabel,
required this.onChanged,
this.upField,
this.borderRadius = 5,
this.height = 40,
this.width = 150,
this.borderWid = 1,
this.borderColor = Colors.black,
this.ico = Icons.arrow_drop_down,
this.icoSize = 30,
this.fontColor = Colors.black,
});