OudsControlItem constructor

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

Implementation

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