onAfterLoad method

  1. @override
Future<void> onAfterLoad()
override

Implementation

@override
Future<void> onAfterLoad() async {
  super.onAfterLoad();
  if (fileBytes != null) {
    _textContent = utf8.decode(fileBytes!);
    _textController.text = _textContent;
  }
}