CustomFloatingEditText constructor

const CustomFloatingEditText({
  1. Key? key,
  2. FloatingEditTextShape? shape,
  3. FloatingEditTextPadding? padding,
  4. FloatingEditTextVariant? variant,
  5. FloatingEditTextFontStyle? fontStyle,
  6. Alignment? alignment,
  7. double? width,
  8. EdgeInsetsGeometry? margin,
  9. TextEditingController? controller,
  10. FocusNode? focusNode,
  11. bool? autofocus = false,
  12. bool? isObscureText = false,
  13. TextInputAction? textInputAction = TextInputAction.next,
  14. TextInputType? textInputType = TextInputType.text,
  15. int? maxLines,
  16. String? labelText,
  17. String? hintText,
  18. Widget? prefix,
  19. BoxConstraints? prefixConstraints,
  20. Widget? suffix,
  21. BoxConstraints? suffixConstraints,
  22. FormFieldValidator<String>? validator,
})

Implementation

const CustomFloatingEditText(
    {super.key,
    this.shape,
    this.padding,
    this.variant,
    this.fontStyle,
    this.alignment,
    this.width,
    this.margin,
    this.controller,
    this.focusNode,
    this.autofocus = false,
    this.isObscureText = false,
    this.textInputAction = TextInputAction.next,
    this.textInputType = TextInputType.text,
    this.maxLines,
    this.labelText,
    this.hintText,
    this.prefix,
    this.prefixConstraints,
    this.suffix,
    this.suffixConstraints,
    this.validator});