media_picker 1.3.0

  • Readme
  • Changelog
  • Example
  • Installing
  • new78

media_picker #

Flutter plugin to get pictures and videos. It allows you to select one or more images from gallery or camera, without needing to switch provider. It also allows you to select both images and videos if you wish

Getting Started #

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

This Plugin is under development. It works in IOS and Android

Forked from Flutter Medias Picker

For help on editing plugin code, view the documentation.

You need to put these styles to 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 name="PickerTabLayout" parent="Widget.Design.TabLayout">
      <item name="tabBackground">@color/colorPrimary</item>
      <item name="tabGravity">fill</item>
      <item name="tabMaxWidth">0dp</item>

  <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>


and in your podfile

platform :ios, '9.0'

[1.3.0] - 2019.10.04

  • merge pull request from Miguel Ruivo @miguelpruivo to fix iOS 13 not working
  • merge pull request from Askar Syzdykov @askarsyzdykov to cleanup some code

[1.2.3] - 2019.10.01

  • updates example README

[1.2.2] - 2019.10.01

  • updates with upstream medias_picker

[1.1.2] - 2019.07.01

  • gallery with Camera support
  • gallery with video support
  • androidX update
  • Officializing fork from upstream Flutter Medias Picker


media_picker_example #

Demonstrates how to use the media_picker plugin.

Getting Started #

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

Use this package as a library

1. Depend on it

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

  media_picker: ^1.3.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:media_picker/media_picker.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

9 out of 9 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Format lib/media_picker.dart.

Run flutter format to format lib/media_picker.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8