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
A widget that displays code with syntax highlighting.

Enums

Languages
Enum Languages
ThemeType
Enum representing the available syntax highlighting themes.

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>