flet-dev / flet-contrib

Flet controls written in Python by community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flet controls in Python by the community

flet-contrib package includes reusable Flet controls written in Python only and using existing Flet primitives.

Controls

Usage

To install flet-contrib package:

pip install flet-contrib

To use in your app:

from flet_contrib.color_picker import ColorPicker

picker = ColorPicker(...)

How to contribute

Contributions are welcome!

Fork this repo.

Create a new directory inside flet_contrib for your control(s) - that will be control's module name, for example flet_contrib.my_control.

Control directory structure:

  • README.md - control description, usage, examples, support information.
  • /src - control implementation.
  • /media - images, multimedia files, databases and other files required by control to function or used in README.md.
  • /examples - one or more examples of usage of your control.
  • __init__.py - classes and functions exported to users of your control.

See ColorPicker for folder structure example.

See FletMap for folder structure example. FletMapScreenShot

Submit Pull Request (PR) with your changes.

Once your PR is merged into main a new "dev" package will be released here which can be installed with pip install flet-contrib --pre.

When the contribution is tested by Flet team/community a new flet-contrib release will be published.

About

Flet controls written in Python by community

License:Apache License 2.0


Languages

Language:Python 100.0%