visitElementAfterWithContext method
Widget?
visitElementAfterWithContext(
- BuildContext context,
- Element element,
- TextStyle? preferredStyle,
- TextStyle? parentStyle,
Called when an Element has been reached, after its children have been visited.
If MarkdownWidget.styleSheet has a style with this tag, it will be
passed as preferredStyle
.
If parent element has TextStyle set, it will be passed as
parentStyle
.
If a widget build isn't needed, return null.
Implementation
Widget? visitElementAfterWithContext(
BuildContext context,
md.Element element,
TextStyle? preferredStyle,
TextStyle? parentStyle,
) {
return visitElementAfter(element, preferredStyle);
}