What an inline builder is told about the construct it is rendering.
Every span-returning builder in this package receives one of these instead of a positional argument list. That is the whole point of the shape: a positional parameter cannot be added later without breaking every consumer, and this package has already had to deprecate two builders over exactly that. A field can be added here at any time and nothing that compiles today stops compiling.
The type is base, so no code outside this package can implement it, and
each subclass is final. That is what makes "a new field is not a breaking
change" a guarantee rather than a hope — there is no consumer
implementation a new member could leave incomplete.
The additive contract. Every constructor parameter added from 1.3.0 on is optional and defaulted, so a builder written against 1.3.0 keeps compiling and keeps behaving the same. New appearance knobs go on LinkStyle or SourceTagStyle, not here. The meaning of an existing field never changes.
- Implementers
Constructors
- InlineBuildDetails({required BuildContext context, required GptMarkdownConfig config, required TextStyle style})
-
Creates the details common to every inline builder.
const
Properties
- config → GptMarkdownConfig
-
The configuration in force at this point in the document.
final
- context → BuildContext
-
The element this construct is being built in.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle
-
The text style in effect for this construct, fully resolved.
final
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