S360fTermsCheckbox constructor

const S360fTermsCheckbox({
  1. required String title,
  2. required String linkText,
  3. required String checkboxLabel,
  4. required bool value,
  5. required dynamic onChanged(
    1. bool?
    ),
  6. Key? key,
  7. String termsContent = '',
  8. String termsLink = '',
  9. Color? backgroundColor,
  10. bool showError = false,
  11. bool allowCheck = false,
  12. String errorText = '',
  13. String uiType = 'type_1',
})

Implementation

const S360fTermsCheckbox({
  required this.title,
  required this.linkText,
  required this.checkboxLabel,
  required this.value,
  required this.onChanged,
  super.key,
  this.termsContent = '',
  this.termsLink = '',
  this.backgroundColor,
  this.showError = false,
  this.allowCheck = false,
  this.errorText = '',
  this.uiType = 'type_1',
});