DevWeave logoDevWeave
CommunitiesDiscoverHelp ForumFeaturesWhy DevWeaveAI & Verification
Log inGet started
Back to Issue Discovery
akhil-nasim/industrial-drawing #8openDartOpen-Source Beginners

Add a dashed stroke option (for centre and hidden lines)

Opened by @akhil-nasim · Assignees: None

View on GitHub
enhancementgood first issue

Solve & Merge Reward: Up to +210 XP & +60 Coins

+30 XP on PR open · +180 XP & +60 coins on merge

6 GitHub Stars

Claim Status & GitHub Signal

Unassigned, with 1 comment. Unassigned does not guarantee unclaimed—read comments and linked PRs first.

AI Issue Assessment · Grounded Analyzer
2.8 / 10 · 3–4 · Beginner

Estimated from issue labels (enhancement, good first issue), Dart context, and discussion depth. There are 1 GitHub comments to review for maintainer clarifications. Note: this is an estimate, not a guarantee.

What It's About

Add a dashed stroke option (for centre and hidden lines). Engineering drawings use dashed lines for centre lines and hidden edges. Shapes can currently only be solid. Task: 1. Add bool dashed (default false) to DrawnShape, including copy, copyWith, toJson and fromJson (missing field → false). 2. In DrawingPainter, dr

Why It Matters

Resolving #8 improves reliability and developer experience in akhil-nasim/industrial-drawing.

Expected Outcome

A focused pull request addressing #8 with relevant checks or tests verified locally.

Skill Match Breakdown

Log in to compare this issue's requirements against your profile skills. Required concepts: Dart, Git & Collaboration, Codebase Reading.

Progressive AI Hints

Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.

Log in to receive your free level-adapted Hint #1 grounded in this repository's files.

Skill-Gap Learning

Gap-Targeted
Learn Git

Branching, commits, rebasing, and collaborative Git workflows.

Addresses skill gap: Git & Collaboration

Hands-On CodeCrafters Practice
Skill-Gap Challenge
Build your own Shell
C

Parse commands, manage PATH lookups, pipes, and process execution.

Practice skill gap: Git & Collaboration

Build your own Git
C

Implement .git storage, blob/tree objects, SHA hashing, and plumbing commands.

Practice skill gap: Git & Collaboration

Issue Description

Engineering drawings use dashed lines for centre lines and hidden edges. Shapes can currently only be solid.

Task:

  1. Add bool dashed (default false) to DrawnShape, including copy, copyWith, toJson and fromJson (missing field → false).
  2. In DrawingPainter, draw dashed paths when it is set — _addDashedLine in the same file already does the dash maths.
  3. In SvgExporter, emit stroke-dasharray.
  4. Add a test in test/controller_test.dart for the JSON round-trip.

Happy to help in the comments if you pick this up.

Linked Pull Requests (0)

No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.

GitHub Comments (1)

@zainab-rehmann
View comment →

Hi! I'd like to take this issue. I'm a software engineering student working with Flutter — I'll start on the dashed flag for DrawnShape, the painter, and the SVG exporter, plus the JSON round-trip test. Please let me know if that's okay.

Peer Help Forum · akhil-nasim/industrial-drawing #8

Issue Troubleshooting Threads (0)

Ask Peers for Help

No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.

PR Verification & Rewards

Sign in and link GitHub to verify your PR against this issue and earn XP + coins.

Sign In

Contribution Workflow

Track your local progress before opening a pull request on GitHub.

Repository Context

Top Repository Paths

.gitignore
.metadata
.pubignore
CHANGELOG.md
LICENSE
README.md
analysis_options.yaml
[dir] example
example/.gitignore
example/.metadata
example/README.md
example/analysis_options.yaml
[dir] example/android
example/android/.gitignore
[dir] example/android/app
example/android/app/build.gradle.kts
[dir] example/android/app/src
[dir] example/android/app/src/debug
example/android/app/src/debug/AndroidManifest.xml
[dir] example/android/app/src/main
example/android/app/src/main/AndroidManifest.xml
[dir] example/android/app/src/main/kotlin
[dir] example/android/app/src/main/kotlin/com
[dir] example/android/app/src/main/kotlin/com/example

Advisory PR Assistant

Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.