themeMode property

ThemeMode themeMode
final

Theme mode for the chart. It can be set to ThemeMode.system, ThemeMode.light, or ThemeMode.dark.

themeMode = ThemeMode.system,

This property is used to set the theme of the chart.

Implementation

final ThemeMode themeMode;