NxSelectBox constructor

const NxSelectBox({
  1. Key? key,
  2. Widget? icon,
  3. bool useFilter = false,
  4. String? text,
  5. bool isLoading = false,
  6. String? label,
  7. String? textError,
  8. List<NxOptions>? options,
  9. dynamic selected,
  10. IconData? suffix,
  11. double? borderRadius,
  12. Color? borderColor,
  13. List<BoxShadow>? boxShadow,
  14. double? height,
  15. double? padding,
  16. double? margin,
  17. bool borderBottom = true,
  18. bool multipleSelect = false,
  19. Color? color = Colors.transparent,
  20. ValueChanged? onSelected,
})

Implementation

const NxSelectBox({
  Key? key,
  this.icon,
  this.useFilter = false,
  this.text,
  this.isLoading = false,
  this.label,
  this.textError,
  this.options,
  this.selected,
  this.suffix,
  this.borderRadius,
  this.borderColor,
  this.boxShadow,
  this.height,
  this.padding,
  this.margin,
  this.borderBottom = true,
  this.multipleSelect = false,
  this.color = Colors.transparent,
  this.onSelected
}) : super(key: key);