Back to Flet

flet-code-editor

sdk/python/packages/flet-code-editor/README.md

0.85.0.dev21.2 KB
Original Source

flet-code-editor

A Flet extension for editing and highlighting source code.

It is based on the flutter_code_editor Flutter package.

Documentation

Detailed documentation to this package can be found here.

Usage

Installation

To install the flet-code-editor package and add it to your project dependencies:

  • Using uv:

    bash
    uv add flet-code-editor
    
  • Using pip:

    bash
    pip install flet-code-editor
    

    After this, you will have to manually add this package to your requirements.txt or pyproject.toml.

Examples

For examples, see these.