Now for some internet optimism.

at_events_flutter

A flutter plugin project to manage events.

Sample usage

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

The event service needs to be initialised with the atClient from the AtClientService and the root server.

initialiseEventService(
  clientSdkService.atClientServiceInstance.atClient,
  NavService.navKey,
  rootDomain: MixedConstants.ROOT_DOMAIN,
  mapKey: 'xxxx',
  apiKey: 'xxxx');

To create a new event:

await showModalBottomSheet<void>(
    context: context,
    isScrollControlled: true,
    shape: StadiumBorder(),
    builder: (BuildContext context) {
      return Container(
        height: height,
        decoration: BoxDecoration(
          color: Theme.of(context).scaffoldBackgroundColor,
          borderRadius: BorderRadius.only(
            topLeft: const Radius.circular(12.0),
            topRight: const Radius.circular(12.0),
          ),
        ),
        child: CreateEvent(),
      );
    });

Navigating to the events list is done simply by using:

Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => EventList(),
      ),
    );

Steps to get mapKey

Steps to get apiKey

Libraries

at_events_flutter
common_components/bottom_sheet
common_components/concurrent_event_request_dialog
common_components/contact_list_tile
This widget is a list tile to display contacts selected for sharing it takes onlyRemovemethod as a boolean with default value as false if true trailing icon remains close icon onAdd method is disabled all isSelected functionalities are disabled
common_components/contacts_initials
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
common_components/custom_button
common_components/custom_circle_avatar
common_components/custom_heading
common_components/custom_popup_route
common_components/custom_toast
common_components/display_tile
common_components/draggable_symbol
common_components/error_screen
common_components/event_time_selection
common_components/floating_icon
common_components/invite_card
common_components/loading_widget
common_components/location_tile
common_components/overlapping-contacts
common_components/pop_button
common_components/text_tile
common_components/triple_dot_loading
models/enums_model
models/event_key_location_model
models/event_member_location
models/event_notification
models/hybrid_notifiation_model
screens/create_event
screens/map_screen/events_collapsed_content
screens/map_screen/events_map_screen
screens/map_screen/participants
screens/notification_dialog/event_notification_dialog
screens/one_day_event
screens/recurring_event
screens/select_location
screens/selected_location
services/at_event_notification_listener
services/contact_service
services/event_key_stream_service
services/event_location_share
services/event_services
services/home_event_service
services/sync_secondary
utils/colors
utils/constants
utils/init_events_service
utils/text_styles
utils/texts