Dispose _TextSpanEditingController. (#108228)
This commit is contained in:
committed by
GitHub
parent
527ee1d728
commit
87938cec44
@@ -509,7 +509,7 @@ class _SelectableTextState extends State<SelectableText> implements TextSelectio
|
||||
@override
|
||||
void dispose() {
|
||||
_focusNode?.dispose();
|
||||
_controller.removeListener(_onControllerChanged);
|
||||
_controller.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user