Name | flet-iconoir JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | the Iconoir library, wrapped for Flet. |
upload_time | 2024-04-28 00:25:40 |
maintainer | None |
docs_url | None |
author | hex benjamin |
requires_python | <3.13,>=3.11 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# flet iconoir
> the [Iconoir](https://iconoir.com/) library, wrapped for [Flet](https://flet.dev/).
## usage
adds a new `IconoirIcon` function. use it like this with a name from the [Iconoir](https://iconoir.com/) list!
```python
page.add(
IconoirIcon(
icon_name="wifi",
icon_set="regular", # or "solid" !
icon_color=ft.colors.PRIMARY, # default
**kwargs, # passed to the flet.Image this thing returns!
)
)
```
also adds the `IconoirIconButton`, which is a class with more parameters.
```python
page.add(
IconoirIconButton(
page=page, # reference to the page this button will be on
icon_name="settings",
icon_set="regular",
on_click=lambda: print("clicked!"), # defaults to None
icon_size=16,
icon_color=ft.colors.ON_PRIMARY,
hover_color=ft.colors.PRIMARY_CONTAINER,
bg_color=ft.colors.ON_PRIMARY_CONTAINER,
padding=8,
circular=True,
border_radius=8, # for when circular is False
)
)
```
quick, dirty, simple, hopefully helpful. find me on [github](https://github.com/hexbenjamin) and reach out if you have questions. have a day!
Raw data
{
"_id": null,
"home_page": null,
"name": "flet-iconoir",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "hex benjamin",
"author_email": "hex@hexbenjam.in",
"download_url": "https://files.pythonhosted.org/packages/09/ad/814d61b79dd0f6884912fb8da2ee3facb1b3ff793a448c2c66ef13de9ea2/flet_iconoir-0.3.0.tar.gz",
"platform": null,
"description": "# flet iconoir\n\n> the [Iconoir](https://iconoir.com/) library, wrapped for [Flet](https://flet.dev/).\n\n## usage\n\nadds a new `IconoirIcon` function. use it like this with a name from the [Iconoir](https://iconoir.com/) list!\n\n```python\npage.add(\n IconoirIcon(\n icon_name=\"wifi\",\n icon_set=\"regular\", # or \"solid\" !\n icon_color=ft.colors.PRIMARY, # default\n **kwargs, # passed to the flet.Image this thing returns!\n )\n)\n```\n\nalso adds the `IconoirIconButton`, which is a class with more parameters.\n\n```python\npage.add(\n IconoirIconButton(\n page=page, # reference to the page this button will be on\n icon_name=\"settings\",\n icon_set=\"regular\",\n on_click=lambda: print(\"clicked!\"), # defaults to None\n icon_size=16,\n icon_color=ft.colors.ON_PRIMARY,\n hover_color=ft.colors.PRIMARY_CONTAINER,\n bg_color=ft.colors.ON_PRIMARY_CONTAINER,\n padding=8,\n circular=True,\n border_radius=8, # for when circular is False\n )\n)\n```\n\nquick, dirty, simple, hopefully helpful. find me on [github](https://github.com/hexbenjamin) and reach out if you have questions. have a day!\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "the Iconoir library, wrapped for Flet.",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1424f52b532b57bc8387f37a6a1b3c122be0b2467b14a9f3f0b5d5bae4143af0",
"md5": "efad4b4def86a295c0e055f9228aefcb",
"sha256": "10f3fab58e97fa7af8396f2552329ae97aff88b34b2c04a7d0d00f9b1ed74ee6"
},
"downloads": -1,
"filename": "flet_iconoir-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "efad4b4def86a295c0e055f9228aefcb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.11",
"size": 829350,
"upload_time": "2024-04-28T00:25:38",
"upload_time_iso_8601": "2024-04-28T00:25:38.432183Z",
"url": "https://files.pythonhosted.org/packages/14/24/f52b532b57bc8387f37a6a1b3c122be0b2467b14a9f3f0b5d5bae4143af0/flet_iconoir-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09ad814d61b79dd0f6884912fb8da2ee3facb1b3ff793a448c2c66ef13de9ea2",
"md5": "2f75944456278ef136cf252e61f368ac",
"sha256": "ad7a92d157347472260c211630bd6378c5dfc46f44efad528f2e721f97f8b79a"
},
"downloads": -1,
"filename": "flet_iconoir-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "2f75944456278ef136cf252e61f368ac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.11",
"size": 255874,
"upload_time": "2024-04-28T00:25:40",
"upload_time_iso_8601": "2024-04-28T00:25:40.703541Z",
"url": "https://files.pythonhosted.org/packages/09/ad/814d61b79dd0f6884912fb8da2ee3facb1b3ff793a448c2c66ef13de9ea2/flet_iconoir-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-28 00:25:40",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "flet-iconoir"
}