Alice constructor

Alice({
  1. GlobalKey<NavigatorState>? navigatorKey,
  2. bool showNotification = true,
  3. bool darkTheme = false,
  4. String notificationIcon = "@mipmap/ic_launcher",
})

Creates alice instance.

Implementation

Alice(
    {GlobalKey<NavigatorState>? navigatorKey,
      this.showNotification = true,
      // this.showInspectorOnShake = false,
      this.darkTheme = false,
      this.notificationIcon = "@mipmap/ic_launcher"}) {
  _navigatorKey = navigatorKey ?? GlobalKey<NavigatorState>();
  _aliceCore = AliceCore(
    _navigatorKey,
    showNotification,
    // showInspectorOnShake,
    darkTheme,
    notificationIcon,
  );
}