From dc13fd56a16b374f4e18bd4fca59a8f580940c5d Mon Sep 17 00:00:00 2001 From: Polina Cherkasova Date: Tue, 26 Jul 2022 10:43:20 -0700 Subject: [PATCH] Update editable.dart (#108233) --- packages/flutter/lib/src/rendering/editable.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter/lib/src/rendering/editable.dart b/packages/flutter/lib/src/rendering/editable.dart index d13844ddca46..6bba4a932663 100644 --- a/packages/flutter/lib/src/rendering/editable.dart +++ b/packages/flutter/lib/src/rendering/editable.dart @@ -385,6 +385,9 @@ class RenderEditable extends RenderBox with RelayoutWhenSystemFontsChangeMixin, _cachedBuiltInPainters?.dispose(); _selectionStartInViewport.dispose(); _selectionEndInViewport.dispose(); + _autocorrectHighlightPainter.dispose(); + _selectionPainter.dispose(); + _caretPainter.dispose(); super.dispose(); }