CustomTextField constructor
const
CustomTextField(
- String label, {
- Key? key,
- TextEditingController? controller,
- bool obscureText = false,
- double borderRadius = 25,
- ValueNotifier<
Color> ? backgroundColor, - void onSubmitted()?,
- 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,
});