utils/show_markdown_file_image library
Render a markdown document as a widget with an optional SVG asset.
Copyright (C) 2023-2024, Togaware Pty Ltd.
License: https://www.gnu.org/licenses/gpl-3.0.en.html
Authors: Zheyuan Xu, Graham Williams
Functions
-
showMarkdownFile(
BuildContext context, String markdownFilePath, [String svgAsset = 'assets/svg/generic.svg']) → FutureBuilder -
20241215 gjw A scrolling widget that parses and displays Markdown file,
which is located under the path
markdownFilePath
. The markdown file takes up the left half of the widget while an optional SVG image the right ahlf. A generic image is displayed if no image is provided. It allows handling asynchronous loading of markdown file.