code_viewer 0.0.1-dev.1 code_viewer: ^0.0.1-dev.1 copied to clipboard
A minimalist code viewer with a copy button.
Features #
This package take an string and highlight some keywords or patterns by using RefEx to find them. You can also click on the button to copy the code.
Getting started #
CodeViewer(codeToHighlight: '''//Thank you for downloading my package
while (yourHeartBeat) {
spreadLove();
}'''),
parameters | descriptions |
---|---|
codeTohighlight | String(code) to highlight the syntax |
commentColor | Color of the comment |
Author #
My name is Kerby Elpenord and this is my first package. I'm a self-taught developer. I want to create a multi language code-viewer but i will need contributors to do so
Additional information #
This package is open source. Therefore, you are invited to contribute on this package. If you find a problem, feel free to file an issue or make a pull request.