LionInput constructor

const LionInput({
  1. Key? key,
  2. required String label,
  3. required String value,
  4. required dynamic onChanged(
    1. String
    ),
  5. bool disabled = false,
  6. String? validator(
    1. String?
    )?,
  7. String? placeholder,
  8. int? maxLength,
  9. bool obscureText = false,
  10. IconData? prefixIcon,
  11. String? semanticLabel,
})

Implementation

const LionInput({
  super.key,
  required this.label,
  required this.value,
  required this.onChanged,
  this.disabled = false,
  this.validator,
  this.placeholder,
  this.maxLength,
  this.obscureText = false,
  this.prefixIcon,
  this.semanticLabel,
});