FormConfig<T> constructor

const FormConfig<T>({
  1. required FormType type,
  2. required String name,
  3. required String label,
  4. bool required = false,
  5. dynamic defaultValue,
  6. FormValidator? validator,
  7. bool isShow = true,
  8. T? props,
  9. Key? key,
})

Implementation

const FormConfig({
  required this.type,
  required super.name,
  required super.label,
  super.required = false,
  super.defaultValue,
  super.validator,
  super.isShow = true,
  this.props,
  super.key,
});