Now for some internet optimism.

at_location_flutter

A flutter plugin project to share location between two atsigns.

Getting Started

This plugin can be added to the project as git dependency in pubspec.yaml

dependencies:
  at_location_flutter: ^0.0.3

Sample usage

It is expected that the app will first create an AtClientService instance and authenticate an atsign.

The location service needs to be initialised with the atClient from the AtClientService, current atsign and a global navigator key.

initializeLocationService(
          clientSdkService.atClientServiceInstance.atClient,
          activeAtSign,
          NavService.navKey);

Navigating to the maps view is done simply by using:

Navigator.of(context).push(MaterialPageRoute(
        builder: (BuildContext context) => HomeScreen(),
    ));

To request location from an atsign:

await sendRequestLocationNotification(receiver);

To share location from an atsign and duration of share in minutes:

await sendShareLocationNotification(receiver, 30);

Libraries

anim_type
api_service
at_location_flutter
at_location_flutter_plugin
at_location_notification_listener
bottom_sheet
bounds
build_marker
center_zoom
circle_layer
circle_marker_painter
collapsed_content
colors
constants
contact_service
contacts_initial
This is a widget to display the initials of an atsign which does not have a profile picture it takes in @param size as a double and @param initials as String and display those initials in a circular avatar with random colors
crs
custom_circle_avatar
custom_popup_route
custom_toast
display_tile
distance_calculate
distance_grid
draggable_symbol
floating_icon
flutter_map
flutter_map_state
gestures
group_layer
home_screen
home_screen_service
hybrid_model
init_location_service
key_location_model
key_stream_service
latlng_bounds
latlng_tween
layer
loading_widget
location_modal
location_notification
location_prompt_dialog
location_service
map
map_screen
map_state_widget
marker_cluster
marker_cluster_layer
marker_cluster_layer_options
marker_cluster_node
marker_cluster_plugin
marker_custom_painter
marker_layer
marker_node
marker_popup
master_location_service
my_location
notification_dialog
overlay_image_layer
plugin
point
pointed_bottom
polygon_layer
polyline_layer
pop_button
quick_hull
request_location_service
request_location_sheet
search_location_service
send_location_notification
share_location_sheet
sharing_location_service
show_location
spiderfy
tasks
text_styles
text_tile
text_tile_repeater
tile_layer
tile_provider
util