Skip to content

Move code editor into example#22

Open
romanbsd wants to merge 1 commit into
serverpod:mainfrom
romanbsd:move-code-editor-to-example
Open

Move code editor into example#22
romanbsd wants to merge 1 commit into
serverpod:mainfrom
romanbsd:move-code-editor-to-example

Conversation

@romanbsd

@romanbsd romanbsd commented Jul 6, 2026

Copy link
Copy Markdown

Summary

Moves the code editor widget out of the published package API and into the example app, where it is currently used.

Why

The editor implementation is demo UI and owns rich clipboard behavior. Keeping it in lib/ forces package consumers that only need syntax highlighting to depend on super_clipboard.

Changes

  • Move lib/src/code_editor.dart to example/lib/code_editor.dart.
  • Stop exporting the editor from package:syntax_highlight.
  • Move super_clipboard from root package dependencies to the example app.
  • Keep the example app wired to the moved local editor implementation.

Validation

  • flutter analyze

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