media_mime 1.4.5 copy "media_mime: ^1.4.5" to clipboard
media_mime: ^1.4.5 copied to clipboard

A dart package to look up mime types for media files.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add media_mime

With Flutter:

 $ flutter pub add media_mime

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  media_mime: ^1.4.5

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

Import it

Now in your Dart code, you can use:

import 'package:media_mime/media_mime.dart';
2
likes
155
points
138
downloads

Publisher

verified publishermgenware.com

Weekly Downloads

A dart package to look up mime types for media files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on media_mime