LinkConfig class final
LinkConfig is a configuration class used to control how links are
processed and formatted within a text.
Constructors
- LinkConfig({bool excludeProtocol = false, bool enableShortening = false})
-
Creates a LinkConfig instance with the specified configuration options.
const
Properties
- enableShortening → bool
-
A flag indicating whether automatic link shortening is enabled.
final
- excludeProtocol → bool
-
Whether to exclude the protocol (e.g., "https://") when processing links.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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