Skip to content

fix: limit public API exports for pub.dev#41

Merged
pbertsch merged 1 commit intomainfrom
fix/pub-dev-exports
Mar 28, 2026
Merged

fix: limit public API exports for pub.dev#41
pbertsch merged 1 commit intomainfrom
fix/pub-dev-exports

Conversation

@pbertsch
Copy link
Copy Markdown
Contributor

Summary

Reduces the public API surface of flutter_probe_agent to only what app developers need:

  • ProbeAgent — the main entry point (.start(), .stop(), .isRunning)
  • isProbeEnabled — utility getter

Previously exported 8 internal classes (ProbeExecutor, ProbeFinder, ProbeSync, etc.) that are implementation details and shouldn't be part of the public API.

pub.dev readiness

  • dart analyze lib/ — No issues
  • dart pub publish --dry-run — 0 warnings (after commit)
  • README.md, CHANGELOG.md, LICENSE, example/main.dart all present

@pbertsch pbertsch requested a review from a team as a code owner March 28, 2026 13:53
@pbertsch pbertsch merged commit 94ccff3 into main Mar 28, 2026
14 checks passed
@pbertsch pbertsch deleted the fix/pub-dev-exports branch March 28, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant