LiquidText constructor

LiquidText({
  1. required String fieldName,
  2. required String labelText,
  3. required double fieldWidth,
  4. double fieldHeight = 65,
  5. TextInputType keyboardType = TextInputType.text,
  6. String? validator(
    1. String?
    )?,
  7. TextEditingController? controller,
  8. dynamic onSaved(
    1. dynamic
    )?,
  9. dynamic onChanged(
    1. dynamic
    )?,
  10. dynamic onTap()?,
  11. Icon? prefixIcon,
  12. Icon? suffixIcon,
  13. FocusNode? focusNode,
  14. required bool isEdit,
  15. OutlineInputBorder? border,
  16. Key? key,
})

Implementation

LiquidText(
    {required this.fieldName,
    required this.labelText,
    required this.fieldWidth,
    this.fieldHeight = 65,
    this.keyboardType = TextInputType.text,
    this.validator,
    this.controller,
    this.onSaved,
    this.onChanged,
    this.onTap,
    this.prefixIcon,
    this.suffixIcon,
    this.focusNode,
    required this.isEdit,
    this.border,
    this.key});