TomlViewerConfig class
Constructors
- TomlViewerConfig({bool expandMode = true, Color valueColor = const Color.fromRGBO(255, 68, 68, 1.0), Color typeTextColor = Colors.grey, Color symbolColor = Colors.grey, Color nonRootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0), Color rootKeyColor = const Color.fromRGBO(0, 51, 153, 1.0), Color keyColor = const Color.fromRGBO(0, 128, 128, 1.0)})
- TomlViewerConfig.copyWith({bool? expandMode, Color? valueColor, Color? typeTextColor, Color? symbolColor, Color? nonRootKeyColor, Color? rootKeyColor, Color? keyColor})
-
Creates a copy of this configuration with optionally updated fields.
factory
Properties
- expandMode → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyColor → Color
-
final
- nonRootKeyColor → Color
-
final
- rootKeyColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbolColor → Color
-
final
- typeTextColor → Color
-
final
- valueColor → Color
-
final
Methods
-
createConfusedCopy(
) → TomlViewerConfig - Creates a copy of this configuration with some random or confused properties.
-
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