readSrcPageFullPath function
read src page with path
Implementation
Future<SrcPage> readSrcPageFullPath(String path) async {
final file = File(path);
final content = file.readAsBytesSync();
final segments = path.split(Platform.pathSeparator);
final page = SrcPage(
name: segments.last,
content: content,
);
return page;
}