TextInputWidget constructor

const TextInputWidget({
  1. Key? key,
  2. required String label,
  3. required CreditCardTheme theme,
  4. required double fontSize,
  5. required dynamic onChanged(
    1. String
    )?,
  6. Function? onDone,
  7. List<TextInputFormatter>? formatters,
  8. TextInputType? keyboardType,
  9. TextInputAction? textInputAction,
  10. bool? password,
  11. Widget? suffixIcon,
  12. TextEditingController? controller,
  13. double bottom = 0,
  14. double left = 0,
  15. double right = 0,
  16. double top = 0,
})

Implementation

const TextInputWidget({
  super.key,
  required this.label,
  required this.theme,
  required this.fontSize,
  required this.onChanged,
  this.onDone,
  this.formatters,
  this.keyboardType,
  this.textInputAction,
  this.password,
  this.suffixIcon,
  this.controller,
  this.bottom = 0,
  this.left = 0,
  this.right = 0,
  this.top = 0,
});