MaterialXForm constructor

const MaterialXForm({
  1. Key? key,
  2. required MaterialXFormController controller,
  3. String? title,
  4. String? hintText = '',
  5. Function? onPressEnter,
  6. bool centerTextField = true,
  7. bool isEnabled = true,
  8. Function? onTap,
  9. dynamic onChanged(
    1. String
    )?,
  10. int? maxLines = 1,
  11. Widget? group,
  12. bool isNumber = false,
  13. bool isCurrency = false,
  14. bool obsecure = false,
  15. Widget? customChild,
  16. double scaled = 1.0,
  17. bool flat = false,
  18. dynamic onTapOutside(
    1. PointerDownEvent
    )?,
})

Implementation

const MaterialXForm({
  Key? key,
  required this.controller,
  this.title,
  this.hintText = '',
  this.onPressEnter,
  this.centerTextField = true,
  this.isEnabled = true,
  this.onTap,
  this.onChanged,
  this.maxLines = 1,
  this.group,
  this.isNumber = false,
  this.isCurrency = false,
  this.obsecure = false,
  this.customChild,
  this.scaled = 1.0,
  this.flat = false,
  this.onTapOutside,
}) : super(key: key);