RistoTextField constructor
const
RistoTextField({
- Key? key,
- TextEditingController? controller,
- String? title,
- String? hint,
- bool isSecret = false,
- TextInputType? keyboardType,
- String? validator()?,
- void onChanged()?,
- void onSubmitted()?,
- FocusNode? focusNode,
- List<
TextInputFormatter> ? inputFormatters, - EdgeInsetsGeometry? margin,
- double borderRadius = 12.0,
- Color? borderColor,
- Color? fillColor,
- Color? focusedBorderColor,
- Color? errorBorderColor,
- TextStyle? textStyle,
- TextStyle? titleStyle,
- TextStyle? hintStyle,
- TextStyle? errorStyle,
- Widget? innerLeading,
- Widget? innerTrailing,
- Widget? outerLeading,
- Widget? outerTrailing,
- double outerSpacing = 10.0,
- double? fieldHeight,
- EdgeInsetsGeometry? contentPadding,
- TextAlignVertical? textAlignVertical,
- int? maxLength,
- String? counterText,
- bool isDense = false,
- bool readOnly = false,
- TapRegionCallback? onTapOutside,
- bool horizontalLayout = false,
Implementation
const RistoTextField({
super.key,
this.controller,
this.title,
this.hint,
this.isSecret = false,
this.keyboardType,
this.validator,
this.onChanged,
this.onSubmitted,
this.focusNode,
this.inputFormatters,
this.margin,
this.borderRadius = 12.0,
this.borderColor,
this.fillColor,
this.focusedBorderColor,
this.errorBorderColor,
this.textStyle,
this.titleStyle,
this.hintStyle,
this.errorStyle,
this.innerLeading,
this.innerTrailing,
this.outerLeading,
this.outerTrailing,
this.outerSpacing = 10.0,
this.fieldHeight,
this.contentPadding,
this.textAlignVertical,
this.maxLength,
this.counterText,
this.isDense = false,
this.readOnly = false,
this.onTapOutside,
this.horizontalLayout = false,
});