MarkdownPageListTile constructor

const MarkdownPageListTile({
  1. Key? key,
  2. Widget? icon,
  3. required Widget title,
  4. ScaffoldBuilder? scaffoldBuilder,
  5. String? applicationName,
  6. Widget? applicationIcon,
  7. bool? useMustache,
  8. required String filename,
  9. Map<String, String>? mustacheValues,
  10. MarkdownTapHandler? tapHandler,
  11. MarkdownStyleSheet? styleSheet,
  12. String? imageDirectory,
  13. List<BlockSyntax>? blockSyntaxes,
  14. Widget? trailing,
  15. List<InlineSyntax>? inlineSyntaxes,
  16. ExtensionSet? extensionSet,
  17. MarkdownImageBuilder? imageBuilder,
  18. MarkdownCheckboxBuilder? checkboxBuilder,
  19. Map<String, MarkdownElementBuilder> builders = const {},
  20. bool fitContent = true,
  21. bool selectable = false,
  22. bool shrinkWrap = true,
  23. MarkdownStyleSheetBaseTheme styleSheetTheme = MarkdownStyleSheetBaseTheme.material,
  24. SyntaxHighlighter? syntaxHighlighter,
})

Creates a list tile for showing a markdown page.

The title and filename of the markdown template are required.

Implementation

const MarkdownPageListTile({
  Key? key,
  this.icon,
  required this.title,
  this.scaffoldBuilder,
  this.applicationName,
  this.applicationIcon,
  this.useMustache,
  required this.filename,
  this.mustacheValues,
  this.tapHandler,
  this.styleSheet,
  this.imageDirectory,
  this.blockSyntaxes,
  this.trailing,
  this.inlineSyntaxes,
  this.extensionSet,
  this.imageBuilder,
  this.checkboxBuilder,
  this.builders = const {},
  this.fitContent = true,
  this.selectable = false,
  this.shrinkWrap = true,
  this.styleSheetTheme = MarkdownStyleSheetBaseTheme.material,
  this.syntaxHighlighter,
}) : super(key: key);