data property

SfTreemapThemeData data
final

Specifies the color and typography values for descendant Treemap widgets.

Widget build(BuildContext context) {
  return Scaffold(
    body: SfTreemapTheme(
      data: SfTreemapThemeData(
        brightness: Brightness.light
      ),
      child: SfTreemap(),
    ),
  );
}

Implementation

final SfTreemapThemeData data;