setPrimaryColor static method

Future<void> setPrimaryColor(
  1. Color color
)

Sets the primary color of the SDK's UI. Sets the color of UI elements indicating interactivity or call to action. color primaryColor A color to set the UI elements of the SDK to.

Implementation

static Future<void> setPrimaryColor(Color color) async {
  final List<dynamic> params = <dynamic>[color.value];
  await _channel.invokeMethod<Object>('setPrimaryColor:', params);
}