data property

SfMapsThemeData data
final

Specifies the color and typography values for descendant maps widgets.

Widget build(BuildContext context) {
  return Scaffold(
    body: SfMapsTheme(
      data: SfMapsThemeData(
        brightness: Brightness.dark,
      ),
      child: SfMaps()
    ),
  );
}

Implementation

final SfMapsThemeData data;