AliceCore constructor
AliceCore(})
Creates alice core instance
Implementation
AliceCore(this.navigatorKey,
{required this.showNotification,
required this.darkTheme,
this.notificationIcon,
required this.maxCallsCount,
this.directionality,
this.channelId = 'Alice',
this.channelName = 'alice_channel',
this.channelDescription = 'Notification For Alice'}) {
if (showNotification) {
debugPrint('SHOW NOTIFICATIONS');
_initializeAlice(
channelDescription: channelDescription,
channelId: channelId,
channelName: channelName,
);
_callsSubscription = callsSubject.listen((_) => _onCallsChanged());
}
_brightness = darkTheme ? Brightness.dark : Brightness.light;
}