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