TextBoxLabel constructor

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

Implementation

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