TransitTransport constructor - TransitTransport - routing library - Dart API
TransitTransport
TransitTransport constructor
- TransitMode mode,
- String? name,
- String? headsign,
- String? category,
- Color? color,
- Color? textColor,
Creates a new instance.
modeTransit mode of transport in the route.nameTransit line name.headsignTransit line headsign.categoryHuman readable transport category (such as Bus, Gondola, Tram, Train, ...)colorColor of the transport polyline and background for the transport name.textColorColor of the transport name.
Implementation
TransitTransport(this.mode, this.name, this.headsign, this.category, this.color, this.textColor);