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

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages