AppTextField constructor

const AppTextField({
  1. required TextEditingController ctl,
  2. required String hText,
  3. Key? key,
  4. String hintFamily = 'AminaReska',
  5. String textFamily = 'FuturaPTMedium',
  6. bool isDark = true,
  7. bool isDense = false,
  8. bool isEnabled = true,
  9. bool isLogin = false,
  10. bool isNumber = false,
  11. bool isObscure = false,
  12. int maxLines = 1,
  13. FocusNode? focusNode,
  14. int? maxLength,
  15. void onChanged(
    1. String changed
    )?,
  16. 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,
});