flutter_code_view library
A Flutter package for displaying and highlighting code snippets with syntax highlighting and customizable themes.
This library provides a widget for rendering code with syntax highlighting, supporting various programming languages and visual themes. It allows for customization of appearance, including colors, fonts, and layout.
Classes
- FlutterCodeView
- Highlight
- Main syntax highlighter class for code highlighting with customizable styles.
- Node
- Represents a node in the syntax-highlighted code tree.
Enums
Constants
-
a11yDarkTheme
→ const Map<
String, TextStyle> - A11y Dark theme for syntax highlighting.
-
a11yLightTheme
→ const Map<
String, TextStyle> - A11y Light theme for syntax highlighting.
-
agateTheme
→ const Map<
String, TextStyle> -
androidstudioTheme
→ const Map<
String, TextStyle> -
anOldHopeTheme
→ const Map<
String, TextStyle> -
arduinoLightTheme
→ const Map<
String, TextStyle> -
artaTheme
→ const Map<
String, TextStyle> -
asceticTheme
→ const Map<
String, TextStyle> -
atelierCaveDarkTheme
→ const Map<
String, TextStyle> -
atelierCaveLightTheme
→ const Map<
String, TextStyle> -
atelierDuneDarkTheme
→ const Map<
String, TextStyle> -
atelierDuneLightTheme
→ const Map<
String, TextStyle> -
atelierEstuaryDarkTheme
→ const Map<
String, TextStyle> -
atelierEstuaryLightTheme
→ const Map<
String, TextStyle> -
atelierForestDarkTheme
→ const Map<
String, TextStyle> -
atelierForestLightTheme
→ const Map<
String, TextStyle> -
atelierHeathDarkTheme
→ const Map<
String, TextStyle> -
atelierHeathLightTheme
→ const Map<
String, TextStyle> -
atelierLakesideDarkTheme
→ const Map<
String, TextStyle> -
atelierLakesideLightTheme
→ const Map<
String, TextStyle> -
atelierPlateauDarkTheme
→ const Map<
String, TextStyle> -
atelierPlateauLightTheme
→ const Map<
String, TextStyle> -
atelierSavannaDarkTheme
→ const Map<
String, TextStyle> -
atelierSavannaLightTheme
→ const Map<
String, TextStyle> -
atelierSeasideDarkTheme
→ const Map<
String, TextStyle> -
atelierSeasideLightTheme
→ const Map<
String, TextStyle> -
atelierSulphurpoolDarkTheme
→ const Map<
String, TextStyle> -
atelierSulphurpoolLightTheme
→ const Map<
String, TextStyle> -
atomOneDarkReasonableTheme
→ const Map<
String, TextStyle> -
atomOneDarkTheme
→ const Map<
String, TextStyle> -
atomOneLightTheme
→ const Map<
String, TextStyle> -
brownPaperTheme
→ const Map<
String, TextStyle> -
codepenEmbedTheme
→ const Map<
String, TextStyle> -
colorBrewerTheme
→ const Map<
String, TextStyle> -
darculaTheme
→ const Map<
String, TextStyle> -
darkTheme
→ const Map<
String, TextStyle> -
defaultTheme
→ const Map<
String, TextStyle> -
doccoTheme
→ const Map<
String, TextStyle> -
draculaTheme
→ const Map<
String, TextStyle> -
farTheme
→ const Map<
String, TextStyle> -
foundationTheme
→ const Map<
String, TextStyle> -
githubGistTheme
→ const Map<
String, TextStyle> -
githubTheme
→ const Map<
String, TextStyle> -
gmlTheme
→ const Map<
String, TextStyle> -
googlecodeTheme
→ const Map<
String, TextStyle> -
gradientDarkTheme
→ const Map<
String, TextStyle> -
grayscaleTheme
→ const Map<
String, TextStyle> -
gruvboxDarkTheme
→ const Map<
String, TextStyle> -
gruvboxLightTheme
→ const Map<
String, TextStyle> -
hopscotchTheme
→ const Map<
String, TextStyle> -
hybridTheme
→ const Map<
String, TextStyle> -
ideaTheme
→ const Map<
String, TextStyle> -
irBlackTheme
→ const Map<
String, TextStyle> -
isblEditorDarkTheme
→ const Map<
String, TextStyle> -
isblEditorLightTheme
→ const Map<
String, TextStyle> -
kimbieDarkTheme
→ const Map<
String, TextStyle> -
kimbieLightTheme
→ const Map<
String, TextStyle> -
lightfairTheme
→ const Map<
String, TextStyle> -
magulaTheme
→ const Map<
String, TextStyle> -
monoBlueTheme
→ const Map<
String, TextStyle> -
monokaiSublimeTheme
→ const Map<
String, TextStyle> -
monokaiTheme
→ const Map<
String, TextStyle> -
nightOwlTheme
→ const Map<
String, TextStyle> -
nordTheme
→ const Map<
String, TextStyle> -
obsidianTheme
→ const Map<
String, TextStyle> -
oceanTheme
→ const Map<
String, TextStyle> -
paraisoDarkTheme
→ const Map<
String, TextStyle> -
paraisoLightTheme
→ const Map<
String, TextStyle> -
pojoaqueTheme
→ const Map<
String, TextStyle> -
purebasicTheme
→ const Map<
String, TextStyle> -
qtcreatorDarkTheme
→ const Map<
String, TextStyle> -
qtcreatorLightTheme
→ const Map<
String, TextStyle> -
railscastsTheme
→ const Map<
String, TextStyle> -
rainbowTheme
→ const Map<
String, TextStyle> -
routerosTheme
→ const Map<
String, TextStyle> -
schoolBookTheme
→ const Map<
String, TextStyle> -
shadesOfPurpleTheme
→ const Map<
String, TextStyle> -
solarizedDarkTheme
→ const Map<
String, TextStyle> -
solarizedLightTheme
→ const Map<
String, TextStyle> -
sunburstTheme
→ const Map<
String, TextStyle> -
themeMap
→ const Map<
ThemeType, Map< String, TextStyle> > - Map of ThemeType to theme definitions.
-
tomorrowNightBlueTheme
→ const Map<
String, TextStyle> -
tomorrowNightBrightTheme
→ const Map<
String, TextStyle> -
tomorrowNightEightiesTheme
→ const Map<
String, TextStyle> -
tomorrowNightTheme
→ const Map<
String, TextStyle> -
tomorrowTheme
→ const Map<
String, TextStyle> -
vs2015Theme
→ const Map<
String, TextStyle> -
vsTheme
→ const Map<
String, TextStyle> -
xcodeTheme
→ const Map<
String, TextStyle> -
xt256Theme
→ const Map<
String, TextStyle> -
zenburnTheme
→ const Map<
String, TextStyle>
Properties
- abnf → Mode
-
final
- accesslog → Mode
-
final
- actionscript → Mode
-
final
- ada → Mode
-
final
-
allLanguages
→ Map<
String, Mode> -
final
- angelscript → Mode
-
final
- apache → Mode
-
final
- applescript → Mode
-
final
- arcade → Mode
-
final
- arduino → Mode
-
final
- armasm → Mode
-
final
- asciidoc → Mode
-
final
- aspectj → Mode
-
final
- autohotkey → Mode
-
final
- autoit → Mode
-
final
- avrasm → Mode
-
final
- awk → Mode
-
final
- axapta → Mode
-
final
- bash → Mode
-
final
- basic → Mode
-
final
- bnf → Mode
-
final
- brainfuck → Mode
-
final
-
builtinLanguages
→ Map<
String, Mode> -
final
- cal → Mode
-
final
- capnproto → Mode
-
final
- ceylon → Mode
-
final
- clean → Mode
-
final
- clojure → Mode
-
final
- clojureRepl → Mode
-
final
- cmake → Mode
-
final
- coffeescript → Mode
-
final
-
communityLanguages
→ Map<
String, Mode> -
final
- coq → Mode
-
final
- cos → Mode
-
final
- cpp → Mode
-
final
- crmsh → Mode
-
final
- crystal → Mode
-
final
- cs → Mode
-
final
- csp → Mode
-
final
- css → Mode
-
final
- d → Mode
-
final
- dart → Mode
-
final
- delphi → Mode
-
final
- diff → Mode
-
final
- django → Mode
-
final
- dns → Mode
-
final
- dockerfile → Mode
-
final
- dos → Mode
-
final
- dsconfig → Mode
-
final
- dts → Mode
-
final
- dust → Mode
-
final
- ebnf → Mode
-
final
- elixir → Mode
-
final
- elm → Mode
-
final
- erb → Mode
-
final
- erlang → Mode
-
final
- erlangRepl → Mode
-
final
- excel → Mode
-
final
- fix → Mode
-
final
- flix → Mode
-
final
- fortran → Mode
-
final
- fsharp → Mode
-
final
- gams → Mode
-
final
- gauss → Mode
-
final
- gcode → Mode
-
final
- gherkin → Mode
-
final
- glsl → Mode
-
final
- gml → Mode
-
final
- gn → Mode
-
final
- go → Mode
-
final
- golo → Mode
-
final
- gradle → Mode
-
final
- graphql → Mode
-
final
- groovy → Mode
-
final
- haml → Mode
-
final
- handlebars → Mode
-
final
- haskell → Mode
-
final
- haxe → Mode
-
final
- hsp → Mode
-
final
- htmlbars → Mode
-
final
- http → Mode
-
final
- hy → Mode
-
final
- inform7 → Mode
-
final
- ini → Mode
-
final
- irpf90 → Mode
-
final
- isbl → Mode
-
final
- java → Mode
-
final
- javascript → Mode
-
final
- jbossCli → Mode
-
final
- json → Mode
-
final
- julia → Mode
-
final
- juliaRepl → Mode
-
final
- kotlin → Mode
-
final
- lang1C → Mode
-
final
- lasso → Mode
-
final
- ldif → Mode
-
final
- leaf → Mode
-
final
- less → Mode
-
final
- lisp → Mode
-
final
- livecodeserver → Mode
-
final
- livescript → Mode
-
final
- llvm → Mode
-
final
- lsl → Mode
-
final
- lua → Mode
-
final
- makefile → Mode
-
final
- markdown → Mode
-
final
- mathematica → Mode
-
final
- matlab → Mode
-
final
- maxima → Mode
-
final
- mel → Mode
-
final
- mercury → Mode
-
final
- mipsasm → Mode
-
final
- mizar → Mode
-
final
- mojolicious → Mode
-
final
- monkey → Mode
-
final
- moonscript → Mode
-
final
- n1Ql → Mode
-
final
- nginx → Mode
-
final
- nimrod → Mode
-
final
- nix → Mode
-
final
- nsis → Mode
-
final
- objectivec → Mode
-
final
- ocaml → Mode
-
final
- openscad → Mode
-
final
- oxygene → Mode
-
final
- parser3 → Mode
-
final
- perl → Mode
-
final
- pf → Mode
-
final
- pgsql → Mode
-
final
- php → Mode
-
final
- plaintext → Mode
-
final
- pony → Mode
-
final
- powershell → Mode
-
final
- processing → Mode
-
final
- profile → Mode
-
final
- prolog → Mode
-
final
- properties → Mode
-
final
- protobuf → Mode
-
final
- puppet → Mode
-
final
- purebasic → Mode
-
final
- python → Mode
-
final
- q → Mode
-
final
- qml → Mode
-
final
- r → Mode
-
final
- reasonml → Mode
-
final
- rib → Mode
-
final
- roboconf → Mode
-
final
- routeros → Mode
-
final
- rsl → Mode
-
final
- ruby → Mode
-
final
- ruleslanguage → Mode
-
final
- rust → Mode
-
final
- sas → Mode
-
final
- scala → Mode
-
final
- scheme → Mode
-
final
- scilab → Mode
-
final
- scss → Mode
-
final
- shell → Mode
-
final
- smali → Mode
-
final
- smalltalk → Mode
-
final
- sml → Mode
-
final
- solidity → Mode
-
final
- sqf → Mode
-
final
- sql → Mode
-
final
- stan → Mode
-
final
- stata → Mode
-
final
- step21 → Mode
-
final
- stylus → Mode
-
final
- subunit → Mode
-
final
- swift → Mode
-
final
- taggerscript → Mode
-
final
- tap → Mode
-
final
- tcl → Mode
-
final
- tex → Mode
-
final
- thrift → Mode
-
final
- tp → Mode
-
final
- twig → Mode
-
final
- typescript → Mode
-
final
- vala → Mode
-
final
- vbnet → Mode
-
final
- vbscript → Mode
-
final
- vbscriptHtml → Mode
-
final
- verilog → Mode
-
final
- vhdl → Mode
-
final
- vim → Mode
-
final
- vue → Mode
-
final
- x86Asm → Mode
-
final
- xl → Mode
-
final
- xml → Mode
-
final
- xquery → Mode
-
final
- yaml → Mode
-
final
- zephir → Mode
-
final