MaterialXForm constructor
const
MaterialXForm({
- Key? key,
- required MaterialXFormController controller,
- String? title,
- String? hintText = '',
- Function? onPressEnter,
- bool centerTextField = true,
- bool isEnabled = true,
- Function? onTap,
- dynamic onChanged()?,
- int? maxLines = 1,
- Widget? group,
- bool isNumber = false,
- bool isCurrency = false,
- bool obsecure = false,
- Widget? customChild,
- double scaled = 1.0,
- bool flat = false,
- dynamic onTapOutside()?,
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);