Skip to product menu
Skip to main content

Empty View

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

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.emptyView.backgroundColor = Colors.white.toString();
customTheme.emptyView.chatButtonBackgroundColor = Colors.blue.toString();
customTheme.emptyView.chatButtonTitleColor =  Colors.white.toString();
customTheme.emptyView.textColor =  Colors.black.toString();

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