NavUiOptions constructor

const NavUiOptions({
  1. required String apiKey,
  2. required LatLng origin,
  3. required LatLng destination,
  4. List<Waypoint> intermediates = const [],
  5. String languageCode = 'pt-BR',
  6. Color? colorPrimary,
  7. Color? colorOnPrimary,
  8. Color? colorSurface,
  9. Color? colorOnSurface,
  10. String? mapId,
  11. NavUiThemeMode themeMode = NavUiThemeMode.auto,
})

Implementation

const NavUiOptions({
  required this.apiKey,
  required this.origin,
  required this.destination,
  this.intermediates = const [],
  this.languageCode = 'pt-BR',
  this.colorPrimary,
  this.colorOnPrimary,
  this.colorSurface,
  this.colorOnSurface,
  this.mapId,
  this.themeMode = NavUiThemeMode.auto,
});