copyWith method
AliceConfiguration
copyWith({
- bool? showNotification,
- bool? showInspectorOnShake,
- String? notificationIcon,
- TextDirection? directionality,
- AliceStorage? aliceStorage,
- AliceLogger? aliceLogger,
Implementation
AliceConfiguration copyWith({
GlobalKey<NavigatorState>? navigatorKey,
bool? showNotification,
bool? showInspectorOnShake,
String? notificationIcon,
TextDirection? directionality,
bool? showShareButton,
AliceStorage? aliceStorage,
AliceLogger? aliceLogger,
}) =>
AliceConfiguration(
showNotification: showNotification ?? this.showNotification,
showInspectorOnShake: showInspectorOnShake ?? this.showInspectorOnShake,
notificationIcon: notificationIcon ?? this.notificationIcon,
directionality: directionality ?? this.directionality,
showShareButton: showShareButton ?? this.showShareButton,
navigatorKey: navigatorKey ?? this.navigatorKey,
storage: aliceStorage ?? this.aliceStorage,
logger: aliceLogger ?? this.aliceLogger,
);