From e928226c73da58da288febfb00a09d731b7f152e Mon Sep 17 00:00:00 2001 From: Pablo Guerra Date: Thu, 25 Apr 2024 19:40:39 -0400 Subject: [PATCH] Revised Resume Formatting, Removed Donation Button, Added Changelog --- CHANGELOG.md | 6 ++++++ lib/screens/split_screen.dart | 18 ------------------ lib/services/pdf_generator.dart | 12 +++++++----- pubspec.lock | 26 +++++++++++++------------- pubspec.yaml | 2 +- 5 files changed, 27 insertions(+), 37 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cd36219 --- /dev/null +++ b/CHANGELOG.md @@ -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. diff --git a/lib/screens/split_screen.dart b/lib/screens/split_screen.dart index 11df8f8..c44ac4b 100644 --- a/lib/screens/split_screen.dart +++ b/lib/screens/split_screen.dart @@ -195,15 +195,6 @@ class SplitScreenState extends State firstWordOnly(Strings.contributeCode), ), ), - NavigationRailDestination( - icon: const Tooltip( - message: Strings.donate, - child: Icon(Icons.attach_money), - ), - label: Text( - firstWordOnly(Strings.donate), - ), - ), ], ); } @@ -344,15 +335,6 @@ class SplitScreenState extends State RedirectHandler.openUrl(Strings.sourceCodeUrl); }, ), - _listOption( - context: context, - title: Strings.donate.toUpperCase(), - iconData: Icons.attach_money, - onTap: () { - Navigator.pop(context); - RedirectHandler.openUrl(Strings.sponsorUrl); - }, - ), ]; } diff --git a/lib/services/pdf_generator.dart b/lib/services/pdf_generator.dart index 721fe71..3bc7c97 100644 --- a/lib/services/pdf_generator.dart +++ b/lib/services/pdf_generator.dart @@ -192,7 +192,10 @@ class PDFGenerator { genericSection.startDateController.text, genericSection.endDateController.text, ), - style: const TextStyle(fontSize: 12), + style: TextStyle( + fontSize: 12, + fontWeight: FontWeight.bold, + ), ), ], ), @@ -203,11 +206,9 @@ class PDFGenerator { children: [ Text( genericSection.subtitleController.text, - style: TextStyle(fontWeight: FontWeight.bold), ), Text( genericSection.locationController.text, - style: const TextStyle(fontSize: 12), ), ], ), @@ -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, ) ], ) @@ -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(); diff --git a/pubspec.lock b/pubspec.lock index 00058fc..698f2ab 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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" diff --git a/pubspec.yaml b/pubspec.yaml index 8cf4758..3eb89e4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"