CLTextField.rounded constructor

CLTextField.rounded({
  1. Key? key,
  2. required TextEditingController controller,
  3. required String labelText,
  4. GestureTapCallback? onTap,
  5. FocusNode? focusNode,
  6. Future onChanged(
    1. String value
    )?,
  7. bool isRequired = false,
  8. bool isEnabled = true,
  9. bool isReadOnly = false,
  10. String? initValue,
  11. List<FormFieldValidator<String>>? validators,
  12. bool isCompact = false,
})

Implementation

factory CLTextField.rounded({
  Key? key,
  required TextEditingController controller,
  required String labelText,
  GestureTapCallback? onTap,
  FocusNode? focusNode,
  Future Function(String value)? onChanged,
  bool isRequired = false,
  bool isEnabled = true,
  bool isReadOnly = false,
  String? initValue,
  List<FormFieldValidator<String>>? validators,
  bool isCompact = false,
}) =>
    CLTextField(
      key: key,
      controller: controller,
      labelText: labelText,
      suffixIcon: null,
      onTap: onTap,
      onChanged: onChanged,
      focusNode: focusNode,
      isReadOnly: isReadOnly,
      isRounded: true,
      isEnabled: isEnabled,
      validators: validators,
      initValue: initValue,
      isCompact: isCompact,
    );