InputField class
Constructors
-
InputField({Key? key, String? text, bool obscureText = false, Decoration? decoration, Decoration? focusDecoration, int? maxLines = 1, double height = 48, double? width, TextInputAction textInputAction = TextInputAction.done, Color? normalColor, Color? focusColor, ValueChanged<String>? onSubmitted, TextEditingController? controller, String? hintText, FocusNode? focusNode, TextStyle? style, TextStyle? hintStyle, bool leftIconEnable = false, Widget? leftWidget, Widget? rightWidget, Color? backGroundColor, bool nonDecoration = false, double? contentPadding, List<TextInputFormatter>? inputFormatters, VoidCallback? onEditingComplete, VoidCallback? cancelCallBack, FocusScopeNode? scopeNode, int? maxLength, String? exceedLimitTip, TextInputType keyboardType = TextInputType.text, bool enable = true, Color? cursorColor, EdgeInsetsGeometry? padding, bool? readOnly = false, ValueChanged<String>? onChanged, TextAlign textAlign = TextAlign.start, Widget? clearWidget, String? labelText, EdgeInsetsGeometry? lablePadding, Widget? replacement, bool showClear = true, bool onChangeDelay = false, int delayDuration = 1000, bool autoFocus = false, InputBorder? inputBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? enabledBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? focusedBorder = const OutlineInputBorder(borderSide: BorderSide.none)})
-
const
-
InputField.border({Key? key, String? text, bool obscureText = false, Decoration? decoration, Decoration? focusDecoration, int? maxLines = 1, double height = 48, double? width, TextInputAction textInputAction = TextInputAction.next, Color? normalColor, Color? focusColor = const Color(0xfff5f5f7), ValueChanged<String>? onSubmitted, TextEditingController? controller, String? hintText, TextStyle? style, TextStyle? hintStyle, FocusNode? focusNode, Widget? leftWidget, Widget? rightWidget, Color? backGroundColor, bool leftIconEnable = false, bool nonDecoration = true, TextInputType keyboardType = TextInputType.text, double? contentPadding, VoidCallback? onEditingComplete, List<TextInputFormatter>? inputFormatters, VoidCallback? cancelCallBack, int? maxLength, FocusScopeNode? scopeNode, String? exceedLimitTip, bool enable = true, Color? cursorColor, EdgeInsetsGeometry? padding, bool? readOnly = false, ValueChanged<String>? onChanged, TextAlign textAlign = TextAlign.start, Widget? clearWidget, bool showClear = true, String? labelText, EdgeInsetsGeometry? lablePadding, Widget? replacement, InputBorder? inputBorder, InputBorder? enabledBorder, InputBorder? focusedBorder, bool autoFocus = false, bool onChangeDelay = false, int delayDuration = 1000})
-
const
-
InputField.noneDecoration({Key? key, String? text, bool obscureText = false, Decoration? decoration, Decoration? focusDecoration, int? maxLines = 1, double height = 48, double? width, TextInputAction textInputAction = TextInputAction.next, Color? normalColor, Color? focusColor = const Color(0xfff5f5f7), ValueChanged<String>? onSubmitted, TextEditingController? controller, String? hintText, TextStyle? style, TextStyle? hintStyle, FocusNode? focusNode, Widget? leftWidget, Widget? rightWidget, Color? backGroundColor, bool leftIconEnable = false, bool nonDecoration = true, TextInputType keyboardType = TextInputType.text, double? contentPadding, VoidCallback? onEditingComplete, List<TextInputFormatter>? inputFormatters, VoidCallback? cancelCallBack, int? maxLength, FocusScopeNode? scopeNode, String? exceedLimitTip, bool enable = true, Color? cursorColor, EdgeInsetsGeometry? padding, bool? readOnly = false, ValueChanged<String>? onChanged, TextAlign textAlign = TextAlign.start, Widget? clearWidget, bool showClear = true, String? labelText, EdgeInsetsGeometry? lablePadding, Widget? replacement, bool onChangeDelay = false, int delayDuration = 1000, bool autoFocus = false, InputBorder? inputBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? enabledBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? focusedBorder = const OutlineInputBorder(borderSide: BorderSide.none)})
-
const
-
InputField.search({Key? key, String? text, bool obscureText = false, Decoration? decoration, Decoration? focusDecoration, int? maxLines = 1, double height = 48, double? width, TextInputAction textInputAction = TextInputAction.search, Color? normalColor, Color? focusColor, ValueChanged<String>? onSubmitted, TextEditingController? controller, String? hintText, FocusNode? focusNode, TextStyle? style, TextStyle? hintStyle, Widget? leftWidget, Widget? rightWidget, bool leftIconEnable = true, bool nonDecoration = false, Color? backGroundColor, TextInputType keyboardType = TextInputType.text, VoidCallback? onEditingComplete, double? contentPadding, List<TextInputFormatter>? inputFormatters, int? maxLength, VoidCallback? cancelCallBack, FocusScopeNode? scopeNode, String? exceedLimitTip, bool enable = true, Color? cursorColor, EdgeInsetsGeometry? padding, bool? readOnly = false, ValueChanged<String>? onChanged, TextAlign textAlign = TextAlign.start, Widget? clearWidget, String? labelText, EdgeInsetsGeometry? lablePadding, Widget? replacement, bool showClear = true, bool onChangeDelay = false, int delayDuration = 1000, bool autoFocus = false, InputBorder? inputBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? enabledBorder = const OutlineInputBorder(borderSide: BorderSide.none), InputBorder? focusedBorder = const OutlineInputBorder(borderSide: BorderSide.none)})
-
const