toWidget abstract method

Widget toWidget(
  1. BuildContext context
)

Converts this element to a displayable Flutter widget.

This method is called by the message rendering system to display the content. Implementations should return a widget appropriate for the element's content type.

Implementation

Widget toWidget(BuildContext context);