FlutterAPI reference
Events
Events in the Flutter SDK.
import 'package:nexus_flutter/nexus.dart';NexusEvents
classProduct analytics. Events are buffered, batched, and handed to the durable outbox — correlated to the current session and retried until delivered.
View sourceonTracked
fieldvoid Function(String name)? onTrackedNotified with each tracked event name (used to fire survey event triggers).
View sourcetrack()
methodvoid track(String name, {Map<String, Object?>? properties})Track a named event with optional properties.
Parameters
Prop
Type
flush()
methodFuture<void> flush()dispose()
methodvoid dispose()