AFieldOAB constructor

const AFieldOAB({
  1. Key? key,
  2. bool readOnly = false,
  3. String identifier = 'oab',
  4. String oabLabel = 'Número OAB',
  5. String ufLabel = 'UF',
  6. bool required = false,
  7. String? label,
  8. void onChanged(
    1. Map<String, dynamic>?
    )?,
  9. bool autofocus = false,
  10. Map<String, dynamic>? initialValue = const <String, dynamic>{'number' : '', 'uf' : ''},
  11. int? flexible,
  12. bool expanded = false,
  13. EdgeInsets? margin,
  14. bool linkToAForm = true,
  15. VoidCallback? onSubmit,
  16. List<ARule<Map<String, dynamic>>>? customRules,
  17. EdgeInsets? padding,
  18. bool readonly = false,
})

Implementation

const AFieldOAB({
  super.key,
  super.readOnly,
  super.identifier = 'oab',
  this.oabLabel = 'Número OAB',
  this.ufLabel = 'UF',
  super.required,
  super.label,
  super.onChanged,
  this.autofocus = false,
  super.initialValue = const <String, dynamic>{
    'number': '',
    'uf': '',
  },
  super.flexible,
  super.expanded,
  super.margin,
  super.linkToAForm,
  super.onSubmit,
  super.customRules,
  super.padding,
  super.readonly,
});