Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

famedly/flutter-html-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_html_code

Code widget for flutter_html. Uses the flutter_highlighter package to render <code> blocks. Detects the language from the attribute or uses the defaultLanguage.

Registering the CodeExtension:

Widget html = Html(
    extensions: [
        CodeExtension(
            style: TextStyle(fontSize: 16),
            theme: shadesOfPurpleTheme,
            borderRadius: BorderRadius.circular(4),
            defaultLanguage: html,
        ),
    ],
);

About

Code widget for flutter_html

Topics

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages