OutlinerConfig class

Configuration for the outliner view behavior and appearance.

This class controls global outliner settings including keyboard shortcuts, drag-and-drop behavior, and default styling.

Example:

const config = OutlinerConfig(
  keyboardShortcutsEnabled: false,
  blockStyle: BlockStyle(indentWidth: 32.0),
);

Constructors

OutlinerConfig({bool keyboardShortcutsEnabled = true, BlockStyle blockStyle = const BlockStyle(), EdgeInsets padding = const EdgeInsets.all(16)})
const

Properties

blockStyle BlockStyle
Default styling for blocks
final
hashCode int
The hash code for this object.
no setterinherited
keyboardShortcutsEnabled bool
Whether keyboard shortcuts (Tab/Shift+Tab for indent/outdent) are enabled
final
padding EdgeInsets
Padding around the outliner list
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? keyboardShortcutsEnabled, BlockStyle? blockStyle, EdgeInsets? padding}) OutlinerConfig
Creates a copy of this OutlinerConfig with the given fields replaced
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited