flutter_syntax_highlighter 0.2.1
flutter_syntax_highlighter: ^0.2.1 copied to clipboard
A widget for syntax highlighting of Dart and Flutter code, with support for light and dark themes, line numbers, and code selection.
0.2.1 #
- Fixed formatting of the
vs_code_dark_theme
file.
0.2.0 #
- Added a large set of new syntax highlighting themes.
- Introduced
darkColorSchema
andlightColorSchema
properties to define separate themes for dark and light modes, withVSCodeDarkTheme
andVSCodeLightTheme
set as defaults. - Added
lineNumberOffset
property to specify the starting number for line numbering. - Support for custom themes by extending
SyntaxColorSchema
and assigning them todarkColorSchema
orlightColorSchema
. - Added screenshots for all themes to preview their appearance.
- Documentation updated and standardized for greater clarity.
0.1.7 #
- Added
lineNumberOffset
property to define the initial value of line numbering.
0.1.6 #
- Added
maxCharCount
property to define the maximum number of characters in the line numbering.
0.1.5 #
- Fixed keyword highlighting color in syntax highlighter.
0.1.4 #
- Added line numbering to multi-line strings.
0.1.3 #
- Added display of screenshots via URL.
0.1.2 #
- Fixed screenshot display.
0.1.1 #
- Image width adjusted, demo video removed, and screenshots folder moved to the root of the package.
0.1.0 #
- Support for syntax highlighting for Dart and Flutter code.
- Optional line numbers display.
- Support for light and dark themes.
- Option to enable code selection.