getColor abstract method

Color? getColor(
  1. String name
)

Gets the value of a color attribute or null if it is not contained or the type doesn't match.

  • name Attribute name.

Returns ui.Color?. Attribute value.

Implementation

ui.Color? getColor(String name);