Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review Changes
  • Loading branch information
gspencergoog committed Oct 21, 2024
commit 214421523232ed4fcdb61a4e39e42e756e2ebd1b
4 changes: 2 additions & 2 deletions packages/flutter_markdown/lib/src/builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class MarkdownBuilder implements md.NodeVisitor {
final MarkdownListItemCrossAxisAlignment listItemCrossAxisAlignment;

/// Collection of custom block tags to be used building block widgets.
final List<String>? customBlockTags;
final List<String> customBlockTags;

/// Called when the user changes selection when [selectable] is set to true.
final MarkdownOnSelectionChangedCallback? onSelectionChanged;
Expand All @@ -182,7 +182,7 @@ class MarkdownBuilder implements md.NodeVisitor {

bool _isBlockTag(String? tag) =>
_kBlockTags.contains(tag) ||
(customBlockTags ?? <String>[]).contains(tag);
customBlockTags.contains(tag);

/// Returns widgets that display the given Markdown nodes.
///
Expand Down