YmFormItemSelect constructor

YmFormItemSelect(
  1. String text, {
  2. required dynamic onClick(),
  3. String hintText = "请选择",
  4. String label = "",
  5. Size size = const Size(120, 44),
  6. double fontSize = 14,
  7. Color textColor = const Color(0xff666666),
  8. Color labelTextColor = const Color(0xff333333),
  9. String? rightImage,
  10. bool required = false,
})

Implementation

YmFormItemSelect(
  this.text, {
  required this.onClick,
  this.hintText = "请选择",
  this.label = "",
  this.size = const Size(120, 44),
  this.fontSize = 14,
  this.textColor = const Color(0xff666666),
  this.labelTextColor = const Color(0xff333333),
  this.rightImage,
  this.required = false,
});