copyWith method
OutlinerConfig
copyWith({
- bool? keyboardShortcutsEnabled,
- BlockStyle? blockStyle,
- EdgeInsets? padding,
Creates a copy of this OutlinerConfig with the given fields replaced
Implementation
OutlinerConfig copyWith({
bool? keyboardShortcutsEnabled,
BlockStyle? blockStyle,
EdgeInsets? padding,
}) {
return OutlinerConfig(
keyboardShortcutsEnabled:
keyboardShortcutsEnabled ?? this.keyboardShortcutsEnabled,
blockStyle: blockStyle ?? this.blockStyle,
padding: padding ?? this.padding,
);
}