SfTreemapThemeData.raw constructor

SfTreemapThemeData.raw({
  1. Brightness? brightness,
  2. TextStyle? legendTextStyle,
})

Initialize the sfTreemap theme data

Implementation

factory SfTreemapThemeData.raw({
  Brightness? brightness,
  TextStyle? legendTextStyle,
}) {
  brightness = brightness ?? Brightness.light;

  return SfTreemapThemeData(legendTextStyle: legendTextStyle);
}