SimpDropDown constructor

const SimpDropDown({
  1. Key? key,
  2. required List items,
  3. required String btnLabel,
  4. required void onChanged(
    1. String?
    )?,
  5. String? upField,
  6. double borderRadius = 5,
  7. double height = 40,
  8. double width = 150,
  9. double borderWid = 1,
  10. Color borderColor = Colors.black,
  11. IconData ico = Icons.arrow_drop_down,
  12. double icoSize = 30,
  13. 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,
});