Skip to content

Conversation

ndonkoHenri
Copy link
Contributor

Closes #2430 and #2429

Test Code:

import flet as ft


def main(page: ft.Page):
    page.window_always_on_top = True
    page.theme_mode = ft.ThemeMode.LIGHT

    page.add(
        ft.ElevatedButton("Material", icon=ft.icons.ACCESSIBILITY, icon_color=ft.colors.YELLOW, color=ft.colors.SECONDARY, bgcolor=ft.colors.BLUE_200),
        ft.ElevatedButton("Cupertino", icon=ft.cupertino_icons.ALARM, icon_color=ft.cupertino_colors.DESTRUCTIVE_RED, color=ft.cupertino_colors.SECONDARY_LABEL, bgcolor=ft.cupertino_colors.TERTIARY_SYSTEM_FILL),
    )


ft.app(target=main)

@ndonkoHenri ndonkoHenri linked an issue Jan 20, 2024 that may be closed by this pull request
@FeodorFitsner FeodorFitsner merged commit 0c45658 into main Jan 20, 2024
@FeodorFitsner FeodorFitsner deleted the cupertino-icons-colors branch January 22, 2024 20:54
zrr1999 pushed a commit to zrr1999/flet that referenced this pull request Jul 17, 2024
* cupertino icons

* cupertino colors

* rename getMaterialIcon -> parseIcon

* .lower() on Map key

* parse cupertinoColor

* fetch from stable flutter branch

* update fetch-url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cupertino_colors cupertino_icons
2 participants