MPinput constructor
MPinput({
- Key? key,
- Key? mKey,
- String? validator(
- String? valid
- TextStyle? titleStyle,
- TextStyle? inputStyle,
- Color? activeColor,
- Color? unActiveColor,
- TextEditingController? controller,
- TextInputAction? textInputAction,
- FocusNode? focusNode,
- int length = 5,
- Color? fillColor,
- String? lableText,
- String? title,
- String? hintText,
- String? fontFamily,
- Color hintColor = Coolors.borderColor,
- Color textColor = Colors.black,
- double textSize = FoontSize.font22,
- bool enabled = true,
- TextInputType keyboardType = TextInputType.name,
- bool obscureText = false,
- ValueChanged<
String> ? onChanged, - double width = 60.0,
- double height = 60.0,
- double borderRadius = 16.0,
Implementation
MPinput({
Key? key,
this.mKey,
this.validator,
this.titleStyle,
this.inputStyle,
this.activeColor,
this.unActiveColor,
this.controller,
this.textInputAction,
this.focusNode,
this.length = 5,
this.fillColor,
this.lableText,
this.title,
this.hintText,
this.fontFamily,
this.hintColor = Coolors.borderColor,
this.textColor = Colors.black,
this.textSize = FoontSize.font22,
this.enabled = true,
this.keyboardType = TextInputType.name,
this.obscureText = false,
this.onChanged,
this.width = 60.0,
this.height = 60.0,
this.borderRadius = 16.0,
}) : super(key: key);