CustomTextField constructor

const CustomTextField(
  1. String label, {
  2. Key? key,
  3. TextEditingController? controller,
  4. bool obscureText = false,
  5. double borderRadius = 25,
  6. ValueNotifier<Color>? backgroundColor,
  7. void onSubmitted(
    1. String
    )?,
  8. ValueNotifier<Color>? textColor,
})

Creates a CustomTextField widget.

The label parameter must not be null.

Implementation

const CustomTextField(
  this.label, {
  super.key,
  this.controller,
  this.obscureText = false,
  this.borderRadius = 25,
  this.backgroundColor,
  this.onSubmitted,
  this.textColor,
});