flutter_pdf_share 1.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 52

flutter_pdf_share #

Pub

TL;DR #

This package is temporarily unavailable due to ownership issues

Explanation #

Recently my company requested me to unpublish some packages that I've developed during my work due to ownership issues. This is extremely unpleasant, because all of them are written by myself, but I don't want to conflict with security service and other authorities, so please be patient. Packages will be available as soon as I resolve these issues. You can still use cached versions of them if you have ones. Regards, vanelizarov

1.0.1 #

  • Temporary shut down

1.0.0 #

  • Added view method
  • Refactoring
  • Created custom FileProvider subclass to avoid conflicts with other packages using it

0.0.1 #

  • Basic functionality

example/lib/main.dart

import 'package:flutter/cupertino.dart';

void main() => runApp(App());

class App extends StatefulWidget {
  @override
  _AppState createState() => _AppState();
}

class _AppState extends State<App> {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      home: CupertinoPageScaffold(
        child: Container(),
      ),
    );
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_pdf_share: ^1.0.1

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:flutter_pdf_share/flutter_pdf_share.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
13
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
52
Learn more about scoring.

We analyzed this package on Jul 8, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform linux

Because of import path [package:flutter_pdf_share/flutter_pdf_share.dart] that declares support for platforms: android, ios

Package does not support Flutter platform macos

Because of import path [package:flutter_pdf_share/flutter_pdf_share.dart] that declares support for platforms: android, ios

Package does not support Flutter platform web

Because of import path [package:flutter_pdf_share/flutter_pdf_share.dart] that declares support for platforms: android, ios

Package does not support Flutter platform windows

Because of import path [package:flutter_pdf_share/flutter_pdf_share.dart] that declares support for platforms: android, ios

Package not compatible with SDK dart

because of import path [flutter_pdf_share] that is in a package requiring null.

Health issues and suggestions

Document public APIs. (-1 points)

3 out of 3 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.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/vanelizarov/flutter_pdf_share was unreachable.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.1
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8