Showing
5 changed files
with
7 additions
and
39 deletions
printing/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
deleted
100644 → 0
1 | -package io.flutter.plugins; | ||
2 | - | ||
3 | -import io.flutter.plugin.common.PluginRegistry; | ||
4 | -import net.nfet.flutter.printing.PrintingPlugin; | ||
5 | - | ||
6 | -/** | ||
7 | - * Generated file. Do not edit. | ||
8 | - */ | ||
9 | -public final class GeneratedPluginRegistrant { | ||
10 | - public static void registerWith(PluginRegistry registry) { | ||
11 | - if (alreadyRegisteredWith(registry)) { | ||
12 | - return; | ||
13 | - } | ||
14 | - PrintingPlugin.registerWith( | ||
15 | - registry.registrarFor("net.nfet.flutter.printing.PrintingPlugin")); | ||
16 | - } | ||
17 | - | ||
18 | - private static boolean alreadyRegisteredWith(PluginRegistry registry) { | ||
19 | - final String key = GeneratedPluginRegistrant.class.getCanonicalName(); | ||
20 | - if (registry.hasPlugin(key)) { | ||
21 | - return true; | ||
22 | - } | ||
23 | - registry.registrarFor(key); | ||
24 | - return false; | ||
25 | - } | ||
26 | -} |
@@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | @@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | ||
4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing | 4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing |
5 | repository: https://github.com/DavBfr/dart_pdf | 5 | repository: https://github.com/DavBfr/dart_pdf |
6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
7 | -version: 4.0.0 | 7 | +version: 4.0.1 |
8 | 8 | ||
9 | environment: | 9 | environment: |
10 | sdk: ">=2.3.0 <3.0.0" | 10 | sdk: ">=2.3.0 <3.0.0" |
-
Please register or login to post a comment