Forms constructor

Forms({
  1. Key? key,
  2. required List<FormControls> formElements,
  3. ValueChanged? onChanged,
  4. double? padding,
  5. Map? formMap,
  6. Map errorMessages = const {},
  7. Map validations = const {},
  8. Map decorations = const {},
  9. bool hideSaveBtn = false,
  10. String? actionSaveBtnText,
  11. ButtonStyle? actionButtonStyle,
  12. Function? actionSave,
})

Implementation

Forms(
    {super.key,
    required this.formElements,
    this.onChanged,
    this.padding,
    this.formMap,
    this.errorMessages = const {},
    this.validations = const {},
    this.decorations = const {},
    this.hideSaveBtn = false,
    this.actionSaveBtnText,
    this.actionButtonStyle,
    this.actionSave});