MyFormObj constructor
MyFormObj({
- String? title,
- required String serverName,
- required MyFormType type,
- required TextEditingController controller,
- String? hint,
- String? afterCount,
- Widget? suffixIcon,
- Widget? prefixIcon,
- Widget? bottomWidget,
- List<
ChoiceObj> ? choiceObjs, - dynamic choiceValue,
- bool optional = false,
- bool readOnly = false,
- 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,
});