Skip to content

Commit

Permalink
Revised Resume Formatting, Removed Donation Button, Added Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
PLGuerraDesigns committed Apr 25, 2024
1 parent c648a1f commit e928226
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## 0.4.8

- REVISED: Reduced page side margins by 5px.
- REVISED: Removed bold font weight from subtitle in custom section.
- REVISED: Added bold font weight to dates in custom section.
- REVISED: Replaced ' • ' delimiter with ' , ' in the skills section.
18 changes: 0 additions & 18 deletions lib/screens/split_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,6 @@ class SplitScreenState extends State<SplitScreen>
firstWordOnly(Strings.contributeCode),
),
),
NavigationRailDestination(
icon: const Tooltip(
message: Strings.donate,
child: Icon(Icons.attach_money),
),
label: Text(
firstWordOnly(Strings.donate),
),
),
],
);
}
Expand Down Expand Up @@ -344,15 +335,6 @@ class SplitScreenState extends State<SplitScreen>
RedirectHandler.openUrl(Strings.sourceCodeUrl);
},
),
_listOption(
context: context,
title: Strings.donate.toUpperCase(),
iconData: Icons.attach_money,
onTap: () {
Navigator.pop(context);
RedirectHandler.openUrl(Strings.sponsorUrl);
},
),
];
}

Expand Down
12 changes: 7 additions & 5 deletions lib/services/pdf_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ class PDFGenerator {
genericSection.startDateController.text,
genericSection.endDateController.text,
),
style: const TextStyle(fontSize: 12),
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.bold,
),
),
],
),
Expand All @@ -203,11 +206,9 @@ class PDFGenerator {
children: <Widget>[
Text(
genericSection.subtitleController.text,
style: TextStyle(fontWeight: FontWeight.bold),
),
Text(
genericSection.locationController.text,
style: const TextStyle(fontSize: 12),
),
],
),
Expand Down Expand Up @@ -355,7 +356,8 @@ class PDFGenerator {
iterator < resume.skillTextControllers.length;
iterator++)
Text(
'${resume.skillTextControllers[iterator].text}${iterator + 1 < resume.skillTextControllers.length && resume.skillTextControllers[iterator + 1].text.isNotEmpty ? " • " : ""}',
'${resume.skillTextControllers[iterator].text}${iterator + 1 < resume.skillTextControllers.length && resume.skillTextControllers[iterator + 1].text.isNotEmpty ? ", " : ""}',
textAlign: TextAlign.justify,
)
],
)
Expand Down Expand Up @@ -421,7 +423,7 @@ class PDFGenerator {
icons: await PdfGoogleFonts.cupertinoIcons(),
),
pageFormat: PdfPageFormat.letter,
margin: const EdgeInsets.only(top: 30, left: 50, right: 50, bottom: 25),
margin: const EdgeInsets.only(top: 30, left: 45, right: 45, bottom: 25),
header: (Context context) {
if (context.pageNumber == 1) {
return _header();
Expand Down
26 changes: 13 additions & 13 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.2"
version: "1.18.0"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -308,10 +308,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
nested:
dependency: transitive
description:
Expand Down Expand Up @@ -425,18 +425,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
string_scanner:
dependency: transitive
description:
Expand Down Expand Up @@ -521,10 +521,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
version: "0.6.1"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -617,10 +617,10 @@ packages:
dependency: transitive
description:
name: web
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152
url: "https://pub.dev"
source: hosted
version: "0.1.4-beta"
version: "0.3.0"
win32:
dependency: transitive
description:
Expand All @@ -646,5 +646,5 @@ packages:
source: hosted
version: "6.3.0"
sdks:
dart: ">=3.1.0 <4.0.0"
dart: ">=3.2.0-194.0.dev <4.0.0"
flutter: ">=3.13.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A resume builder app powered by flutter.

publish_to: "none"

version: 0.4.7+14
version: 0.4.8+15

environment:
sdk: ">=3.0.6 <4.0.0"
Expand Down

0 comments on commit e928226

Please sign in to comment.