GpProfileField constructor
const
GpProfileField({
- Key? key,
- required TextEditingController controller,
- required String label,
- IconData? icon,
- TextInputType keyboardType = TextInputType.text,
- bool readOnly = false,
- String? hint,
- VoidCallback? onTap,
- Widget? suffixIcon,
- bool isLocked = false,
- String lockedText = 'LOCKED',
- bool isVerified = false,
- String? helperText,
- String? errorText,
- bool enabled = true,
- Color? backgroundColor,
- Color? borderColor,
- Color? textColor,
Implementation
const GpProfileField({
super.key,
required this.controller,
required this.label,
this.icon,
this.keyboardType = TextInputType.text,
this.readOnly = false,
this.hint,
this.onTap,
this.suffixIcon,
this.isLocked = false,
this.lockedText = 'LOCKED',
this.isVerified = false,
this.helperText,
this.errorText,
this.enabled = true,
this.backgroundColor,
this.borderColor,
this.textColor,
});