InvergeDocs
FlutterAPI reference

Events

Events in the Flutter SDK.

import 'package:nexus_flutter/nexus.dart';

NexusEvents

class

Product analytics. Events are buffered, batched, and handed to the durable outbox — correlated to the current session and retried until delivered.

View source

onTracked

field
void Function(String name)? onTracked

Notified with each tracked event name (used to fire survey event triggers).

View source

track()

method
void track(String name, {Map<String, Object?>? properties})

Track a named event with optional properties.

Parameters

Prop

Type

View source

flush()

method
Future<void> flush()
View source

dispose()

method
void dispose()
View source

On this page