David PHAM-VAN

Typo: change "DownloadbleFont" to "DownloadableFont"

# Changelog
## 5.9.0
- Typo: change "DownloadbleFont" to "DownloadableFont"
## 5.8.0
- PdfPreview supports generic Widgets as actions
... ...
... ... @@ -21,9 +21,9 @@ import '../cache.dart';
import 'manifest.dart';
/// Downloadable font object
class DownloadbleFont {
class DownloadableFont {
/// Create a downloadable font object
const DownloadbleFont(this.url, this.name);
const DownloadableFont(this.url, this.name);
/// The Url to get the font from
final String url;
... ...
... ... @@ -4716,7 +4716,7 @@ import 'font.dart';
/// - cupertinoIcons (CupertinoIcons)
/// - materialIcons (MaterialIcons)
/// - notoColorEmoji (NotoColorEmoji)
class PdfGoogleFonts extends DownloadbleFont {
class PdfGoogleFonts extends DownloadableFont {
const PdfGoogleFonts._(String url, String name) : super(url, name);
/// @nodoc
... ...
... ... @@ -6,7 +6,7 @@ description: >
homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 5.8.0
version: 5.9.0
environment:
sdk: ">=2.12.0 <3.0.0"
... ...
... ... @@ -164,7 +164,7 @@ void main(List<String> args) async {
for (final f in getFonts(m)) {
output.writeln('/// - ${f.fontDartName} (${f.fontName})');
}
output.writeln('class PdfGoogleFonts extends DownloadbleFont {');
output.writeln('class PdfGoogleFonts extends DownloadableFont {');
output.writeln('');
output.writeln(
'const PdfGoogleFonts._(String url, String name) : super(url, name);');
... ...