Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
start_location_screen.dart File Reference
import package;
import easy_localization.dart;
import material.dart;
import flutter_bloc.dart;
import google_maps_flutter.dart;
import geolocator.dart;
import geocoding.dart;
import go_router.dart;
import core;
import constants;
import assets.dart;
import router;
import routes.dart;
import ui;
import theme;
import color_palette.dart;
import widgets;
import custom_scaffold.dart;
import bloc;
import planning_bloc;
import routing_planning_bloc.dart;
import map_widget.dart;
import bottom_content_panel.dart;
Include dependency graph for start_location_screen.dart:

Go to the source code of this file.

Classes

class  StatefulWidget

Functions

override void initState ()
Future< void_getCurrentLocation () async
Future< void_getAddressFromLocation (LatLng location) async
void _onContinue ()
override Widget build (BuildContext context)
override void dispose ()

Variables

class StartLocationScreen extends StatefulWidget _mapController
LatLng _currentLocation = const LatLng(24.6932, 46.7161)
bool _isMapLoaded = false
String _currentAddress = 'Getting your location...'
bool _isLoadingLocation = true
Set< Marker > _markers = {}
final String mapStyle

Function Documentation

◆ _getAddressFromLocation()

Future< void > _getAddressFromLocation ( LatLng location)

Definition at line 137 of file start_location_screen.dart.

◆ _getCurrentLocation()

Future< void > _getCurrentLocation ( )

Definition at line 60 of file start_location_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _onContinue()

void _onContinue ( )

Definition at line 178 of file start_location_screen.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ build()

override Widget build ( BuildContext context)

Definition at line 189 of file start_location_screen.dart.

Here is the call graph for this function:

◆ dispose()

override void dispose ( )

Definition at line 221 of file start_location_screen.dart.

◆ initState()

override void initState ( )

Definition at line 55 of file start_location_screen.dart.

Here is the call graph for this function:

Variable Documentation

◆ _currentAddress

String _currentAddress = 'Getting your location...'

Definition at line 28 of file start_location_screen.dart.

◆ _currentLocation

LatLng _currentLocation = const LatLng(24.6932, 46.7161)

Definition at line 26 of file start_location_screen.dart.

◆ _isLoadingLocation

bool _isLoadingLocation = true

Definition at line 29 of file start_location_screen.dart.

◆ _isMapLoaded

bool _isMapLoaded = false

Definition at line 27 of file start_location_screen.dart.

◆ _mapController

class StartLocationScreen extends StatefulWidget _mapController

◆ _markers

Set<Marker> _markers = {}

Definition at line 30 of file start_location_screen.dart.

◆ mapStyle

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

Definition at line 32 of file start_location_screen.dart.