Skip to main content

Feedback

Colour:

You can customize the colors and properties of the Feedback section to match the look and feel of your application.

 

Image:

You can customize the feedback (happy, neutral, and sad) emojis by adding the custom images to the asset catalog of your Xcode project. 

Note: Ensure to save the image using below respective names below. 

  • Sad Rating - "siq_feedback_rating_sad"
  • Neutral Rating - "siq_feedback_rating_neutral"
  • Happy Rating - "siq_feedback_rating_happy"

Example

Copiedimport 'package:salesiq_mobilisten/siqtheme.dart';

// Create a new theme instance using SIQTheme
var customTheme = new SIQTheme();

// Customize properties in the customTheme instance as desired
customTheme.feedback.backgroundColor = Colors.white.toString();
customTheme.feedback.primaryTextColor = Colors.black.toString();
customTheme.feedback.secondaryTextColor = Colors.grey.toString();
customTheme.feedback.skipButtonTextColor = Colors.blue.toString();
customTheme.feedback.submitButtonBackgroundColor = Colors.blue.toString();
customTheme.feedback.submitButtonTextColor = Colors.white.toString();
customTheme.feedback.feedbackTextFieldTintColor = Colors.blue.toString();
customTheme.feedback.feedbackPlaceholderTextColor = Colors.grey.toString();

// Set the customized theme using ZohoSalesIQ.setThemeForiOS API
ZohoSalesIQ.setThemeForiOS(customTheme);