TextBoxIcon constructor

const TextBoxIcon({
  1. Key? key,
  2. required IconData? icon,
  3. required String? label,
  4. required String? hint,
  5. required String? errorText,
  6. double radius = 4,
  7. Color? accent = Colors.blue,
  8. TextInputType inputType = TextInputType.text,
  9. bool obscure = false,
  10. required ValueChanged<String>? onSaved,
})

Implementation

const TextBoxIcon({ Key? key, required this.icon, required this.label, required this.hint, required this.errorText, this.radius = 4, this.accent = Colors.blue, this.inputType = TextInputType.text, this.obscure = false, required this.onSaved}) : super(key: key);