Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review Changes
Browse files Browse the repository at this point in the history
gspencergoog committed Oct 14, 2024
1 parent d079db0 commit ff8ec0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flutter_markdown/lib/src/builder.dart
Original file line number Diff line number Diff line change
@@ -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;
@@ -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.
///

0 comments on commit ff8ec0a

Please sign in to comment.