Skip to content

Commit

Permalink
feat: support copy with indentPadding (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 authored Jan 15, 2025
1 parent 5352bb4 commit 2a03498
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class BlockComponentConfiguration {
BlockComponentTextStyleBuilder? placeholderTextStyle,
EdgeInsets Function(Node node)? blockSelectionAreaMargin,
TextAlign Function(Node node)? textAlign,
EdgeInsets Function(Node node, TextDirection textDirection)? indentPadding,
}) {
return BlockComponentConfiguration(
padding: padding ?? this.padding,
Expand All @@ -67,6 +68,7 @@ class BlockComponentConfiguration {
blockSelectionAreaMargin:
blockSelectionAreaMargin ?? this.blockSelectionAreaMargin,
textAlign: textAlign ?? this.textAlign,
indentPadding: indentPadding ?? this.indentPadding,
);
}
}
Expand Down

0 comments on commit 2a03498

Please sign in to comment.