textfield_document_viewer 0.0.1
textfield_document_viewer: ^0.0.1 copied to clipboard
A Flutter package for document view with filepath.
🚀 Quick Start #
This Package contains a set of functions that make it easy to select your PDF from your device and you can see it on your textfield and you can show in a separate pdf viwer screen on clicking a show button which is included in your textfield.
Usage #
Just put the component in your application
@override
Widget build(BuildContext context) => new Scaffold(
body: Center(
child: TextFieldDocumentViewer(
labelName: 'Upload your resume',
controller: resumePathController,
hintText: 'Choose File',
),
),
);
Third-party packages used #
| Name | Description |
|---|---|
| path_provider | A Flutter plugin for finding commonly used locations on the filesystem. Supports iOS and Android. |
| file_picker | A package that allows you to use the native file explorer to pick single or multiple files, with extensions filtering support. |
| pdf_viewer_plugin | A Flutter plugin for IOS and Android providing a simple way to display PDFs. |