OudsControlItem constructor

const OudsControlItem({
  1. Key? key,
  2. required String text,
  3. required String errorComponentName,
  4. required Widget indicator(),
  5. String? helperText,
  6. String? icon,
  7. bool divider = false,
  8. bool reversed = false,
  9. bool readOnly = false,
  10. bool error = false,
  11. String? additionalText,
  12. VoidCallback? onTap,
})

Implementation

const OudsControlItem({
  super.key,
  required this.text,
  required this.errorComponentName,
  required this.indicator,
  this.helperText,
  this.icon,
  this.divider = false,
  this.reversed = false,
  this.readOnly = false,
  this.error = false,
  this.additionalText,
  this.onTap,
});