CustomTextField constructor
const
CustomTextField(
- String label, {
- Key? key,
- TextEditingController? controller,
- bool obscureText = false,
- double borderRadius = 25,
- ValueNotifier<
Color> ? backgroundColor, - void onSubmitted()?,
- ValueNotifier<
Color> ? textColor, - TextInputType keyboardType = TextInputType.text,
- TextInputAction textInputAction = TextInputAction.done,
- TextCapitalization textCapitalization = TextCapitalization.none,
- EdgeInsetsGeometry edgeInsetsGeometry = const EdgeInsets.all(0.0),
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,
this.keyboardType = TextInputType.text,
this.textInputAction = TextInputAction.done,
this.textCapitalization = TextCapitalization.none,
this.edgeInsetsGeometry = const EdgeInsets.all(0.0),
});