easy_docs_viewer

Creator: coderz1093

Last updated:

0 purchases

easy_docs_viewer Image
easy_docs_viewer Images

Languages

Categories

Add to Cart

Description:

easy docs viewer

easy_docs_viewer #
Easily render online pdf, pptx, ppt and other docs.
Made thanks to webview_flutter and docs.google.com.
How to use #
Powerpoint pptx or ppt #
import 'package:easy_docs_viewer/lib/easy_docs_viewer.dart';
import 'package:flutter/material.dart';

class CustomPDFViewer extends StatelessWidget {
const CustomPDFViewer({super.key});

@override
Widget build(BuildContext context) {
return const SizedBox(
height: 150,
width: 150,
child: EasyDocsViewer(
url:"https://scholar.harvard.edu/files/torman_personal/files/samplepptx.pptx",

),
);
}
}

copied to clipboard
PDF #
import 'package:easy_docs_viewer/lib/easy_docs_viewer.dart';
import 'package:flutter/material.dart';

class CustomPPTViewer extends StatelessWidget {
const CustomPDFViewer({super.key});

@override
Widget build(BuildContext context) {
return const SizedBox(
height: 150,
width: 150,
child: EasyDocsViewer(
url:"https://www.tutorialspoint.com/flutter/flutter_tutorial.pdf",

),
);
}
}



copied to clipboard
Or any other file you wanna open (Still on research phase) #
import 'package:easy_docs_viewer/lib/easy_docs_viewer.dart';
import 'package:flutter/material.dart';

class CustomPPTViewer extends StatelessWidget {
const CustomPDFViewer({super.key});

@override
Widget build(BuildContext context) {
return const SizedBox(
height: 150,
width: 150,
child: EasyDocsViewer(
url: <AnyDocsToOpenLink>,

),
);
}
}



copied to clipboard
Note #
Since this package is still on development phase other documentation are coming soon

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.