Showing
5 changed files
with
9 additions
and
5 deletions
@@ -21,9 +21,9 @@ import '../cache.dart'; | @@ -21,9 +21,9 @@ import '../cache.dart'; | ||
21 | import 'manifest.dart'; | 21 | import 'manifest.dart'; |
22 | 22 | ||
23 | /// Downloadable font object | 23 | /// Downloadable font object |
24 | -class DownloadbleFont { | 24 | +class DownloadableFont { |
25 | /// Create a downloadable font object | 25 | /// Create a downloadable font object |
26 | - const DownloadbleFont(this.url, this.name); | 26 | + const DownloadableFont(this.url, this.name); |
27 | 27 | ||
28 | /// The Url to get the font from | 28 | /// The Url to get the font from |
29 | final String url; | 29 | final String url; |
@@ -4716,7 +4716,7 @@ import 'font.dart'; | @@ -4716,7 +4716,7 @@ import 'font.dart'; | ||
4716 | /// - cupertinoIcons (CupertinoIcons) | 4716 | /// - cupertinoIcons (CupertinoIcons) |
4717 | /// - materialIcons (MaterialIcons) | 4717 | /// - materialIcons (MaterialIcons) |
4718 | /// - notoColorEmoji (NotoColorEmoji) | 4718 | /// - notoColorEmoji (NotoColorEmoji) |
4719 | -class PdfGoogleFonts extends DownloadbleFont { | 4719 | +class PdfGoogleFonts extends DownloadableFont { |
4720 | const PdfGoogleFonts._(String url, String name) : super(url, name); | 4720 | const PdfGoogleFonts._(String url, String name) : super(url, name); |
4721 | 4721 | ||
4722 | /// @nodoc | 4722 | /// @nodoc |
@@ -6,7 +6,7 @@ description: > | @@ -6,7 +6,7 @@ description: > | ||
6 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing | 6 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing |
7 | repository: https://github.com/DavBfr/dart_pdf | 7 | repository: https://github.com/DavBfr/dart_pdf |
8 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 8 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
9 | -version: 5.8.0 | 9 | +version: 5.9.0 |
10 | 10 | ||
11 | environment: | 11 | environment: |
12 | sdk: ">=2.12.0 <3.0.0" | 12 | sdk: ">=2.12.0 <3.0.0" |
@@ -164,7 +164,7 @@ void main(List<String> args) async { | @@ -164,7 +164,7 @@ void main(List<String> args) async { | ||
164 | for (final f in getFonts(m)) { | 164 | for (final f in getFonts(m)) { |
165 | output.writeln('/// - ${f.fontDartName} (${f.fontName})'); | 165 | output.writeln('/// - ${f.fontDartName} (${f.fontName})'); |
166 | } | 166 | } |
167 | - output.writeln('class PdfGoogleFonts extends DownloadbleFont {'); | 167 | + output.writeln('class PdfGoogleFonts extends DownloadableFont {'); |
168 | output.writeln(''); | 168 | output.writeln(''); |
169 | output.writeln( | 169 | output.writeln( |
170 | 'const PdfGoogleFonts._(String url, String name) : super(url, name);'); | 170 | 'const PdfGoogleFonts._(String url, String name) : super(url, name);'); |
-
Please register or login to post a comment