AppTextField constructor
const
AppTextField({
- required TextEditingController ctl,
- required String hText,
- Key? key,
- String hintFamily = 'AminaReska',
- String textFamily = 'FuturaPTMedium',
- bool isDark = true,
- bool isDense = false,
- bool isEnabled = true,
- bool isLogin = false,
- bool isNumber = false,
- bool isObscure = false,
- int maxLines = 1,
- FocusNode? focusNode,
- int? maxLength,
- void onChanged(
- String changed
- VoidCallback? onSubmit,
Implementation
const AppTextField({
required this.ctl,
required this.hText,
super.key,
this.hintFamily = 'AminaReska',
this.textFamily = 'FuturaPTMedium',
this.isDark = true,
this.isDense = false,
this.isEnabled = true,
this.isLogin = false,
this.isNumber = false,
this.isObscure = false,
this.maxLines = 1,
this.focusNode,
this.maxLength,
this.onChanged,
this.onSubmit,
});