smallTextField method

Widget smallTextField(
  1. TextEditingController? controller,
  2. FocusNode focusNode,
  3. BuildContext context, {
  4. bool? enabled,
  5. TextInputType? keyboardType,
  6. TextCapitalization? textCapitalization,
  7. bool? obscure,
  8. TextInputAction? textInputAction,
  9. FocusNode? nextFocusNode,
  10. Widget? suffixIcon,
  11. Widget? prefixIcon,
  12. Color? colorText,
  13. bool? expands,
  14. String? hint,
  15. dynamic onChange([
    1. String value
    ])?,
  16. dynamic onSubmit(
    1. String
    )?,
  17. int? maxLines,
  18. int? minLines,
  19. int? maxLength,
  20. List<TextInputFormatter>? inputFormatters,
  21. String? error,
  22. String? helpMessage,
  23. bool? showPrefixSeparator = false,
  24. bool? showSuffixSeparator = false,
  25. String? label,
  26. Color? bgColor,
})

Implementation

Widget smallTextField(
    TextEditingController? controller,
    FocusNode focusNode,
    BuildContext context, {
      bool? enabled,
      TextInputType? keyboardType,
      TextCapitalization? textCapitalization,
      bool? obscure,
      TextInputAction? textInputAction,
      FocusNode? nextFocusNode,
      Widget? suffixIcon,
      Widget? prefixIcon,
      Color? colorText,
      bool? expands,
      String? hint,
      Function([String value])? onChange,
      Function(String)? onSubmit,
      int? maxLines,
      int? minLines,
      int? maxLength,
      List<TextInputFormatter>? inputFormatters,
      String? error,
      String? helpMessage,
      bool? showPrefixSeparator = false,
      bool? showSuffixSeparator = false,
      String? label,
      Color? bgColor,
    }) {
  return CustomTextField(label, controller, focusNode,
    enabled: enabled,
    keyboardType: keyboardType,
    textCapitalization: textCapitalization,
    obscure: obscure,
    textInputAction: textInputAction,
    nextFocusNode: nextFocusNode,
    suffixIcon: suffixIcon,
    prefixIcon: prefixIcon,
    colorText: colorText,
    expands: expands,
    onChange: onChange,
    onSubmit: onSubmit,
    minLines: minLines,
    maxLines: maxLength,
    maxLength: maxLength,
    inputFormatters: inputFormatters,
    error: error,
    helpMessage: helpMessage,
    showPrefixSeparator: showPrefixSeparator,
    showSuffixSeparator: showSuffixSeparator,
    isSmall: true,
    bgColor: bgColor,
  );
}