UniqueValueRenderer constructor

UniqueValueRenderer({
  1. List<String> fieldNames = const [],
  2. List<UniqueValue> uniqueValues = const [],
  3. String defaultLabel = '',
  4. ArcGISSymbol? defaultSymbol,
})

Creates a new unique value renderer object.

Parameters:

  • fieldNames — A collection of the field names/attribute keys that the unique values apply to.
  • uniqueValues — A collection of unique values used by the renderer to select a symbol.
  • defaultLabel — The label used for the default symbol.
  • defaultSymbol — The default symbol for values that don't match any of the unique values.