CupThreadThemeScope constructor

const CupThreadThemeScope({
  1. Key? key,
  2. required FeedbackClient client,
  3. required String userToken,
  4. required CupThreadColors colors,
  5. required SdkTheme theme,
  6. PublicAppConfig? appConfig,
  7. bool isConfigLoading = false,
  8. Object? configError,
  9. VoidCallback? retryConfig,
  10. bool failClosed = true,
  11. bool isAnonymous = true,
  12. required CupThreadStrings strings,
  13. Locale? locale,
  14. required Widget child,
})

Implementation

const CupThreadThemeScope({
  super.key,
  required this.client,
  required this.userToken,
  required this.colors,
  required this.theme,
  this.appConfig,
  this.isConfigLoading = false,
  this.configError,
  this.retryConfig,
  this.failClosed = true,
  this.isAnonymous = true,
  required this.strings,
  this.locale,
  required super.child,
});