Closed ndonkoHenri closed 1 week ago
import flet as ft def main(page: ft.Page): page.add( ft.Dropdown( width=100, options=[ ft.dropdown.Option( "Red", text_style=ft.TextStyle(color=ft.colors.RED, italic=True), disabled=True, ), ft.dropdown.Option( "Green", text_style=ft.TextStyle(color=ft.colors.GREEN, italic=True) ), ft.dropdown.Option("Blue", text_style=ft.TextStyle(color=ft.colors.BLUE)), ], ) ) ft.app(target=main)
Test Code