Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
stations_map_view.dart File Reference
import package;
import material.dart;
import flutter_screenutil.dart;
import google_maps_flutter.dart;
import dart;
import as;
import ui;
import core;
import UI;
import theme;
import color_palette.dart;
import widgets;
import custom_scaffold.dart;
import models;
import driver_request.dart;
Include dependency graph for stations_map_view.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

override void initState ()
override void dispose ()
Future< void_createMarkers () async
Future< BitmapDescriptor > _getMarkerBitmap (int number) async
void _showStationDetails (Station station)
Widget _buildDetailRow (String label, String value)
override Widget build (BuildContext context)
Widget _buildMapButton ({ required IconData icon, required String tooltip, required VoidCallback onPressed, })

Variables

class StationsMapViewScreen extends StatefulWidget _mapController
Map< MarkerId, Marker > _markers = {}
bool _isMapLoaded = false
int _selectedMarkerIndex = -1
late AnimationController _animationController
String mapStyle

Function Documentation

◆ _buildDetailRow()

Widget _buildDetailRow ( String label,
String value )

Definition at line 227 of file stations_map_view.dart.

Here is the call graph for this function:

◆ _buildMapButton()

Widget _buildMapButton ( { required IconData icon, required String tooltip, required VoidCallback onPressed, } )

Definition at line 333 of file stations_map_view.dart.

◆ _createMarkers()

Future< void > _createMarkers ( )

Definition at line 68 of file stations_map_view.dart.

Here is the call graph for this function:

◆ _getMarkerBitmap()

Future< BitmapDescriptor > _getMarkerBitmap ( int number)

Definition at line 102 of file stations_map_view.dart.

Here is the call graph for this function:

◆ _showStationDetails()

void _showStationDetails ( Station station)

Definition at line 160 of file stations_map_view.dart.

Here is the call graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 256 of file stations_map_view.dart.

◆ dispose()

override void dispose ( )

Definition at line 63 of file stations_map_view.dart.

◆ initState()

override void initState ( )

Definition at line 53 of file stations_map_view.dart.

Here is the call graph for this function:

Variable Documentation

◆ _animationController

late AnimationController _animationController

Definition at line 29 of file stations_map_view.dart.

◆ _isMapLoaded

bool _isMapLoaded = false

Definition at line 27 of file stations_map_view.dart.

◆ _mapController

class StationsMapViewScreen extends StatefulWidget _mapController

◆ _markers

Map<MarkerId, Marker> _markers = {}

Definition at line 26 of file stations_map_view.dart.

◆ _selectedMarkerIndex

int _selectedMarkerIndex = -1

Definition at line 28 of file stations_map_view.dart.

◆ mapStyle

String mapStyle
Initial value:
= '''
[
{
"featureType": "poi",
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "transit",
"stylers": [
{
"visibility": "off"
}
]
}
]
'''

Definition at line 30 of file stations_map_view.dart.