read static method
Implementation
static TextEditorData read(BuildContext context) {
final TextEditorData? result =
context.findAncestorWidgetOfExactType<TextEditorData>();
assert(result != null, 'No TextEditorData found in context');
return result!;
}