Skip to main content

Form

You can customize the colors and properties of the Form 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.form.backgroundColor =Colors.white.toString();
customTheme.form.campaignOptInTextColor = Colors.grey.toString();
customTheme.form.checkboxCheckedColor = Colors.blue.toString();
customTheme.form.checkboxUncheckedColor = Colors.grey.toString();
customTheme.form.errorColor = Colors.red.toString();
customTheme.form.submitButtonBackgroundColor = Colors.red.toString();
customTheme.form.submitButtonTextColor = Colors.red.toString();
customTheme.form.textFieldBackgroundColor =Colors.grey.toString();
customTheme.form.textFieldPlaceholderColor = Colors.grey.toString();
customTheme.form.textFieldRequiredIndicatorColor = Colors.red.toString();
customTheme.form.textFieldTextColor = Colors.black.toString();
customTheme.form.textFieldTintColor = Colors.red.toString();
customTheme.form.textFieldTitleColor = Colors.grey.toString();

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