Skip to content

Commit

Permalink
Merge pull request #403 from Ariemeth/increase_unit_card_size
Browse files Browse the repository at this point in the history
increase unit card size to 5 inches tall to better handle units with a lot of weapons
  • Loading branch information
Ariemeth authored Jun 15, 2024
2 parents 333a81c + 68f89f0 commit 27cba83
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion lib/screens/roster/pdf/unit_cards/unit_cards.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const double _nameRowHorizontalPadding = 3.0;
const double _traitsSectionPadding = 3.0;
const double _weaponSectionPadding = 3.0;
const double _unitCardFooterPadding = 3.0;
const double _cardHeight = PdfPageFormat.inch * 4.0;
const double _cardHeight = PdfPageFormat.inch * 5;
const double _cardWidth = PdfPageFormat.inch * 2.5;
const double? _section3Height = 73.0;
const double _standardFontSize = 10;
Expand Down
34 changes: 17 additions & 17 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: archive
sha256: ecf4273855368121b1caed0d10d4513c7241dfc813f7d3c8933b36622ae9b265
sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d
url: "https://pub.dev"
source: hosted
version: "3.5.1"
version: "3.6.1"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -165,18 +165,18 @@ packages:
dependency: transitive
description:
name: file_selector_android
sha256: "57265ec9591e8fd8508f613544cde6f7d045731f6b09644057e49a4c9c672b7c"
sha256: "8bcc3af859e9d47fab9c7dc315537406511a894ab578e198bd8f9ed745ea5a01"
url: "https://pub.dev"
source: hosted
version: "0.5.1+1"
version: "0.5.1+2"
file_selector_ios:
dependency: transitive
description:
name: file_selector_ios
sha256: "2bacc6d8725b88f4124c2a780fbf939e96eb1f804362867be4f617dcccec959c"
sha256: "38ebf91ecbcfa89a9639a0854ccaed8ab370c75678938eebca7d34184296f0bb"
url: "https://pub.dev"
source: hosted
version: "0.5.2+1"
version: "0.5.3"
file_selector_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -284,10 +284,10 @@ packages:
dependency: transitive
description:
name: image
sha256: "4c68bfd5ae83e700b5204c1e74451e7bf3cf750e6843c6e158289cf56bda018e"
sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8"
url: "https://pub.dev"
source: hosted
version: "4.1.7"
version: "4.2.0"
io:
dependency: transitive
description:
Expand Down Expand Up @@ -476,10 +476,10 @@ packages:
dependency: transitive
description:
name: platform
sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"
url: "https://pub.dev"
source: hosted
version: "3.1.4"
version: "3.1.5"
plugin_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -540,10 +540,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_android
sha256: "1ee8bf911094a1b592de7ab29add6f826a7331fb854273d55918693d5364a1f2"
sha256: "93d0ec9dd902d85f326068e6a899487d1f65ffcd5798721a95330b26c8131577"
url: "https://pub.dev"
source: hosted
version: "2.2.2"
version: "2.2.3"
shared_preferences_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -721,18 +721,18 @@ packages:
dependency: "direct main"
description:
name: url_launcher
sha256: "6ce1e04375be4eed30548f10a315826fd933c1e493206eab82eed01f438c8d2e"
sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3"
url: "https://pub.dev"
source: hosted
version: "6.2.6"
version: "6.3.0"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
sha256: "360a6ed2027f18b73c8d98e159dda67a61b7f2e0f6ec26e86c3ada33b0621775"
sha256: ceb2625f0c24ade6ef6778d1de0b2e44f2db71fded235eb52295247feba8c5cf
url: "https://pub.dev"
source: hosted
version: "6.3.1"
version: "6.3.3"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -871,4 +871,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.20.0-7.0.pre.48"
flutter: ">=3.22.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.10.1
version: 1.10.2
environment:
sdk: ">=3.0.0"

Expand All @@ -31,7 +31,7 @@ dependencies:
uuid: 4.4.0
pdf: 3.10.8
printing: 5.12.0
url_launcher: 6.2.6
url_launcher: 6.3.0
file_selector: 1.0.3
http: 1.2.1
package_info_plus: 8.0.0
Expand Down

0 comments on commit 27cba83

Please sign in to comment.