onAfterLoad method
Implementation
@override
Future<void> onAfterLoad() async {
super.onAfterLoad();
// Extract text from DOCX for search/copy
if (fileBytes != null) {
try {
_extractedText = docxToText(fileBytes!);
} catch (e) {
//debugPrint('Error extracting text: $e');
}
}
}