MyFormObj constructor

MyFormObj({
  1. String? title,
  2. required String serverName,
  3. required MyFormType type,
  4. required TextEditingController controller,
  5. String? hint,
  6. String? afterCount,
  7. Widget? suffixIcon,
  8. Widget? prefixIcon,
  9. Widget? bottomWidget,
  10. List<ChoiceObj>? choiceObjs,
  11. dynamic choiceValue,
  12. bool optional = false,
  13. bool readOnly = false,
  14. int flex = 1,
})

Implementation

MyFormObj({
  this.title,
  required this.serverName,
  required this.type,
  required this.controller,
  this.hint,
  this.afterCount,
  this.suffixIcon,
  this.prefixIcon,
  this.bottomWidget,
  this.choiceObjs,
  this.choiceValue,
  this.optional = false,
  this.readOnly = false,
  this.flex = 1,
});