Skip to content

Jon-Al/Flet-Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer

The code in this repository is no longer maintained. The controls available here were made using Flet v0.27.6. They are dated and incompatible with the latest Flet version. Feel free to use them, but please maintain the same license as Flet.

Various Flet Controls.

  • Dark Theme Toggle - an easy-to-use dark theme toggle. Uses icons.
  • Auto pickers - Date and Time pickers with optional automatic buttons to pick today/now (respectively). All contained within a subclass of ft.Container. Requires all three classes to work.
  • Color Scheme MenuBar - method to add a color scheme MenuBar to an existing application.
    • Pressing on the items will change the theme according to the chosen seed color.
    • Pressing on named items will copy them to the clipboard automatically.
    • Pressing on the 'Random' menu item will randomize the color scheme, and open a banner
      • The banner can be closed, or
    • Define your own custom themes in color_scheme_button.py.
    • See the example for more details.
  • Views and Keyboard Input Handler - Proof of concept for keyboard inputs.
    • KeyboardInputHandler - A class to manage and handle keyboard inputs, instead of having to manage them individually. Uses a fairly simple system.
    • Also demonstrates hwo to work with Views.
    • See example for more information.
  • Date Field - A textfield with a DateInput, meant for inputting dates. Allows inputting dates without adding the overlay. Error on invalid entry is enabled, with a limited error checking. Uses python-dateutils 2.9.0. Contains an example in the file.
  • Time Field - similar to Date Field, but for time instead of date.

Related Links

Current requirements:

  • flet: 0.27.6
  • pytest: 8.3.4
  • typing_extensions: 4.12.2
  • python-dateutil: 2.9.0

About

Various Flet controls made for personal projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages