at_events_flutter 2.0.3 copy "at_events_flutter: ^2.0.3" to clipboard
at_events_flutter: ^2.0.3 copied to clipboard

PlatformAndroidiOS
outdated

A Flutter plugin project to manage events (time, place and attendees) using the @‎platform.

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 #