NxSelectDate constructor

const NxSelectDate({
  1. Key? key,
  2. Widget? icon,
  3. String text = "",
  4. DateTime? initialDate,
  5. DateTime? lastDate,
  6. bool isLoading = false,
  7. String label = "",
  8. String? textError,
  9. ValueChanged<DateTime>? onSelected,
  10. bool borderBottom = true,
  11. double? height,
  12. double? padding,
  13. double? margin,
  14. double? borderRadius,
  15. Color? color = Colors.transparent,
  16. Color? borderColor,
  17. List<BoxShadow>? boxShadow,
})

Implementation

const NxSelectDate({
  Key? key,
  this.icon,
  this.text = "",
  this.initialDate,
  this.lastDate,
  this.isLoading = false,
  this.label = "",
  this.textError,
  this.onSelected,
  this.borderBottom = true,
  this.height,
  this.padding,
  this.margin,
  this.borderRadius,
  this.color = Colors.transparent,
  this.borderColor,
  this.boxShadow,
}) : super(key: key);