Skip to content

Commit

Permalink
Add annotated field image
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchdukeTim committed Jan 9, 2025
1 parent 068a610 commit 6f25520
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added images/field25-annotated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions lib/widgets/field_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enum OfficialField {
chargedUp,
crescendo,
reefscape,
reefscapeAnnotated
}

class FieldImage {
Expand All @@ -30,6 +31,7 @@ class FieldImage {
FieldImage.official(OfficialField.chargedUp),
FieldImage.official(OfficialField.crescendo),
FieldImage.official(OfficialField.reefscape),
FieldImage.official(OfficialField.reefscapeAnnotated),
];
return _officialFields!;
}
Expand Down Expand Up @@ -76,6 +78,16 @@ class FieldImage {
pixelsPerMeter = 200.0;
name = 'Reefscape';
break;
case OfficialField.reefscape:
image = Image.asset(
'images/field25-annotated.png',
fit: BoxFit.contain,
filterQuality: FilterQuality.medium,
);
defaultSize = const ui.Size(3510, 1610);
pixelsPerMeter = 200.0;
name = 'Reefscape';
break;
}
isCustom = false;
extension = 'png';
Expand Down

0 comments on commit 6f25520

Please sign in to comment.