Skip to content

Gaurav192/Flutter_Documents_Picker

 
 

Repository files navigation

documents_picker

A new Flutter plugin to get documents.

This Plugin is under development, but alredy works in IOS and Android

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

How to use

You need to add these styles to the android app (app/src/main/values/styles.xml) so the plugin works.

  <style name="LibAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
      <!-- Customize your theme here. -->
      <item name="colorPrimary">@color/colorPrimary</item>
      <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
      <item name="colorAccent">@color/colorAccent</item>
      <item name="android:colorBackground">@android:color/background_light</item>
      <item name="android:windowBackground">@android:color/white</item>
  </style>

  <style name="PickerTabLayout" parent="Widget.Design.TabLayout">
      <item name="tabBackground">@color/colorPrimary</item>
      <item name="tabGravity">fill</item>
      <item name="tabMaxWidth">0dp</item>
  </style>

  <style name="SmoothCheckBoxStyle">
      <item name="color_checked">@color/checkbox_color</item>
      <item name="color_unchecked">@android:color/white</item>
      <item name="color_unchecked_stroke">@color/checkbox_unchecked_color</item>
      <item name="color_tick">@android:color/white</item>
  </style>

For use, just

List docPaths = await DocumentsPicker.pickDocuments;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 33.4%
  • Java 23.0%
  • Ruby 22.5%
  • Dart 21.1%