AField<T> constructor

const AField<T>({
  1. Key? key,
  2. required String? label,
  3. required String identifier,
  4. T? initialValue,
  5. void onChanged(
    1. T?
    )?,
  6. bool expanded = false,
  7. int? flexible,
  8. bool readOnly = false,
  9. bool required = false,
  10. bool readonly = false,
  11. List<ARule<T>>? customRules,
  12. EdgeInsets? padding,
  13. EdgeInsets? margin,
  14. bool linkToAForm = true,
  15. VoidCallback? onSubmit,
  16. int timerTime = 500,
})

Implementation

const AField({
  super.key,
  required this.label,
  required this.identifier,
  this.initialValue,
  this.onChanged,
  this.expanded = false,
  this.flexible,
  this.readOnly = false,
  this.required = false,
  this.readonly = false,
  this.customRules,
  this.padding,
  this.margin,
  this.linkToAForm = true,
  this.onSubmit,
  this.timerTime = 500,
});