DataColorPalette class

The theme colors that are used for data colors in charts. The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with #, for example #37BFF5.

Constructors

DataColorPalette.new({List<String>? colors, String? emptyFillColor, List<String>? minMaxGradient})
DataColorPalette.fromJson(Map<String, dynamic> json)
factory

Properties

colors List<String>?
The hexadecimal codes for the colors.
final
emptyFillColor String?
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
final
hashCode int
The hash code for this object.
no setterinherited
minMaxGradient List<String>?
The minimum and maximum hexadecimal codes that describe a color gradient.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited