Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MaterialStateBorderSide for checkbox border_side #2973

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

50Bytes-dev
Copy link
Contributor

@50Bytes-dev 50Bytes-dev commented Apr 2, 2024

import flet as ft
from my_app.styles import colors

ft.Checkbox(
    border_side={
        ft.MaterialState.DEFAULT: ft.BorderSide(
            width=1.6,
            color=colors.NATURAL_400,
        ),
        ft.MaterialState.SELECTED: ft.BorderSide(
            width=1.6,
            color=colors.PRIMARY,
        ),
    }
)

@FeodorFitsner FeodorFitsner merged commit 36b0198 into flet-dev:main Apr 3, 2024
2 checks passed
@50Bytes-dev 50Bytes-dev deleted the checkbox-side-state branch April 3, 2024 04:50
zrr1999 pushed a commit to zrr1999/flet that referenced this pull request Jul 17, 2024
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.

2 participants