Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2022-05-04 09:17:08 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ec7bbb1d4c836f223404fc21a7dc259e75193a60
ec7bbb1d
1 parent
16863754
Typo: change "DownloadbleFont" to "DownloadableFont"
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
printing/CHANGELOG.md
printing/lib/src/fonts/font.dart
printing/lib/src/fonts/gfonts.dart
printing/pubspec.yaml
test/build_gfonts.dart
printing/CHANGELOG.md
View file @
ec7bbb1
# Changelog
## 5.9.0
-
Typo: change "DownloadbleFont" to "DownloadableFont"
## 5.8.0
-
PdfPreview supports generic Widgets as actions
...
...
printing/lib/src/fonts/font.dart
View file @
ec7bbb1
...
...
@@ -21,9 +21,9 @@ import '../cache.dart';
import
'manifest.dart'
;
/// Downloadable font object
class
DownloadbleFont
{
class
Download
a
bleFont
{
/// Create a downloadable font object
const
DownloadbleFont
(
this
.
url
,
this
.
name
);
const
Download
a
bleFont
(
this
.
url
,
this
.
name
);
/// The Url to get the font from
final
String
url
;
...
...
printing/lib/src/fonts/gfonts.dart
View file @
ec7bbb1
...
...
@@ -4716,7 +4716,7 @@ import 'font.dart';
/// - cupertinoIcons (CupertinoIcons)
/// - materialIcons (MaterialIcons)
/// - notoColorEmoji (NotoColorEmoji)
class
PdfGoogleFonts
extends
DownloadbleFont
{
class
PdfGoogleFonts
extends
Download
a
bleFont
{
const
PdfGoogleFonts
.
_
(
String
url
,
String
name
)
:
super
(
url
,
name
);
/// @nodoc
...
...
printing/pubspec.yaml
View file @
ec7bbb1
...
...
@@ -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"
...
...
test/build_gfonts.dart
View file @
ec7bbb1
...
...
@@ -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 Download
a
bleFont {'
);
output
.
writeln
(
''
);
output
.
writeln
(
'const PdfGoogleFonts._(String url, String name) : super(url, name);'
);
...
...
Please
register
or
login
to post a comment