CallbackAttributionVisitor class
AttributionVisitor that delegates to given callbacks.
- Implemented types
Constructors
- CallbackAttributionVisitor({VoidCallback? onVisitBegin, required VisitAttributionsCallback visitAttributions, VoidCallback? onVisitEnd})
Properties
- 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
-
onVisitBegin(
) → void -
Called before visiting attributions, so that implementers can perform any desired setup.
override
-
onVisitEnd(
) → void -
Called after all attribution markers have been visited by visitAttributions.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
visitAttributions(
AttributedText fullText, int index, Set< Attribution> startingAttributions, Set<Attribution> endingAttributions) → void -
Visits all starting and ending attribution markers at the given
index
withinfullText
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited