All Projects → fluttercandies → flutter_filereader

fluttercandies / flutter_filereader

Licence: other
Flutter实现的本地文件(pdf word excel 等)查看插件,非在线预览

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to flutter filereader

Magicodes.ie
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
Stars: ✭ 1,198 (+1086.14%)
Mutual labels:  excel, word
Npoi
A .NET library for reading and writing Microsoft Office binary and OOXML file formats.
Stars: ✭ 1,751 (+1633.66%)
Mutual labels:  excel, word
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-20.79%)
Mutual labels:  excel, word
Desktopeditors
An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
Stars: ✭ 1,008 (+898.02%)
Mutual labels:  excel, word
Office Ribbonx Editor
An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
Stars: ✭ 205 (+102.97%)
Mutual labels:  excel, word
Documentbuilder
ONLYOFFICE Document Builder is powerful text, spreadsheet, presentation and PDF generating tool
Stars: ✭ 61 (-39.6%)
Mutual labels:  excel, word
Vbasync
Cross-platform tool to synchronize macros from an Office VBA-enabled file with a version-controlled folder
Stars: ✭ 98 (-2.97%)
Mutual labels:  excel, word
gscloudplugin
浏览器打印PDF。 浏览器打印HTML。 浏览器打印图片。 浏览器打印Word。浏览器打印Excel。浏览器打印PPT。浏览器打印自定义绘图。浏览器打印微软报表。 使用静默方式打印。蓝牙打印。读写串口数据。读取电子秤重量
Stars: ✭ 18 (-82.18%)
Mutual labels:  excel, word
Ariawase
Ariawase is free library for VBA cowboys.
Stars: ✭ 185 (+83.17%)
Mutual labels:  excel, word
Documentserver
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Stars: ✭ 2,335 (+2211.88%)
Mutual labels:  excel, word
Gotenberg Go Client
Go client for the Gotenberg API
Stars: ✭ 35 (-65.35%)
Mutual labels:  excel, word
Androiddocumentviewer
Android 文档查看: word、excel、ppt、pdf,使用mupdf及tbs
Stars: ✭ 235 (+132.67%)
Mutual labels:  excel, word
Unioffice
Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents
Stars: ✭ 3,111 (+2980.2%)
Mutual labels:  excel, word
Superfileview
基于腾讯浏览服务Tbs,使用X5Webkit内核,实现文件的展示功能,支持多种文件格式
Stars: ✭ 1,115 (+1003.96%)
Mutual labels:  excel, word
Gotenberg
A Docker-powered stateless API for PDF files.
Stars: ✭ 3,272 (+3139.6%)
Mutual labels:  excel, word
Evilclippy
A cross-platform assistant for creating malicious MS Office documents. Can hide VBA macros, stomp VBA code (via P-Code) and confuse macro analysis tools. Runs on Linux, OSX and Windows.
Stars: ✭ 1,224 (+1111.88%)
Mutual labels:  excel, word
craXcel-cli
Command line application to unlock Microsoft Office password protected files.
Stars: ✭ 44 (-56.44%)
Mutual labels:  excel, word
rgpipe
lesspipe for ripgrep for common new filetypes using few dependencies
Stars: ✭ 21 (-79.21%)
Mutual labels:  excel, word
Docxtemplater
Generate docx pptx and xlsx (Microsoft Word, Powerpoint, Excel documents) from templates, from Node.js, the Browser and the command line / Demo: https://www.docxtemplater.com/demo
Stars: ✭ 1,990 (+1870.3%)
Mutual labels:  excel, word
Kkfileviewofficeedit
文件在线预览及OFFICE(word,excel,ppt)的在线编辑
Stars: ✭ 234 (+131.68%)
Mutual labels:  excel, word

Flutter FileReader

pub package

A local file view widget,Support a variety of file types, such as Doc Eexcl PPT TXT and so on,Android is implemented by Tencent X5(Not Support GooglePlay),iOS is implemented by WKWebView

Depend on it

Add this to your package's pubspec.yaml file:

1.9.1

dependencies:
  flutter_filereader: ^1.0.0

1.12.x

dependencies:
  flutter_filereader: ^2.2.0

2.0.0

dependencies:
  flutter_filereader: 3.0.0

Support File Type

  • IOS docx,doc,xlsx,xls,pptx,ppt,pdf,txt,jpg,jpeg,png
  • Android docx,doc,xlsx,xls,pptx,ppt,pdf,txt

Usage

iOS

Make sure you add the following key to Info.plist for iOS

<key>io.flutter.embedded_views_preview</key><true/>

Example

import 'package:flutter/material.dart';
import 'package:flutter_filereader/flutter_filereader.dart';

class FileReaderPage extends StatefulWidget {
  final String filePath;

  FileReaderPage({Key: Key, this.filePath});

  @override
  _FileReaderPageState createState() => _FileReaderPageState();
}

class _FileReaderPageState extends State<FileReaderPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("doc"),
      ),
      body: FileReaderView(
        filePath: widget.filePath,
      ),
    );
  }
}

注意事项

  1. Not Support GooglePlay
  2. 不支持在Android模拟器上运行
  3. txt文档如果显示乱码,请将txt文档编码改成gbk
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].