Skip to content

Commit

Permalink
EditableTextLine: fix a null safety issue (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgestes authored Oct 21, 2021
1 parent b133818 commit b809a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zefyr/lib/src/widgets/editable_text_line.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class _RenderEditableTextLineElement extends RenderObjectElement {
renderObject.leading = child as RenderBox?;
break;
case TextLineSlot.body:
renderObject.body = child as RenderContentProxyBox;
renderObject.body = child as RenderContentProxyBox?;
break;
case null:
break;
Expand Down

0 comments on commit b809a0d

Please sign in to comment.