-
Notifications
You must be signed in to change notification settings - Fork 489
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
Controls Enhancement #2882
Merged
Merged
Controls Enhancement #2882
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit b92ce30.
…ow_color, surface_tint_color
…_vertical_padding, selected_color, selected_tile_color, splash_color, style
…r_color, indicator_shape
…ity, mouse_cursor, title_text_style, subtitle_text_style, leading_and_trailing_text_style
FeodorFitsner
approved these changes
Apr 1, 2024
zrr1999
pushed a commit
to zrr1999/flet
that referenced
this pull request
Jul 17, 2024
* initial commit * Pass data to Control.__init__ Fixes flet-dev#2826 * CircleAvatar: on_image_error * Card: clip_behavior, is_semantic_container, show_border_on_foreground * Checkbox: semantics_label, shape, splash_radius, border_side, is_error * DragTarget: on_move, deprecated DragTargetAcceptEvent in favour of DragTargetEvent * Draggable: on_drag_start, on_drag_end * More types * Divider: indent, end_indent * Fix flet-dev#2839 * Stack: alignment, fit * Divider: rename indent to leading_indent and end_indent to trailing_indent * Draggable: rename on_drag_end to on_drag_complete * Checkbox: rename border_side to border * Revert "Checkbox: rename border_side to border" This reverts commit b92ce30. * Card: variant * VerticalDivider: leading_indent, trailing_indent * Tooltip: exclude_from_semantics, enable_tap_to_dismiss * Reformat _set_attr calls * TimePicker: orientation * FAB - dart: colors, elevation, enableFeedback * ProgressRing: stroke_cap, stroke_align, semantics_label, semantics_value * ProgressBar: border_radius, semantics_label, semantics_value * OutlinedButton: clip_behavior * NavBar: animation_duration * AlertDialog: action_button_padding, clip_behavior, icon_padding, shadow_color, surface_tint_color * ListTile: enable_feedback, horizontal_spacing, min_leading_width, min_vertical_padding, selected_color, selected_tile_color, splash_color, style * Image: exclude_from_semantics, filter_quality, semantics_label * SelectionArea: on_change * ListView: semantic_child_count, clipBehavior * FAB: colors, elevations, enable_feedback, clip_behavior * ElevatedButton: clip_behavior, * SnackBar: clip_behavior, shape, on_visible * Slider: interaction, overlay_color * IconButton: alignment, disabled_color, enable_feedback, hover_color, padding * Radio: focus_color, hover_color, overlay_color, splash_radius, toggleable, visual_density * GridView: semantic_child_count, clipBehavior * Tabs: divider_height, enable_feedback, indicator_thickness * Cleanup + Code Reformat * Fix CI: import enum * Reformat: replace is_dataclass with isinstance * add kwargs in run_task * Tabs: secondary * Fix CI: typing error * Option: alignment, on_click * Dropdown: hint_content, icon_content, elevation, item_height, max_menu_height, icon_size, enable_feedback, padding, icon_enabled_color, icon_disabled_color, on_click * Cleanup * PopupMenuButton: clip_behavior, splash_radius, elevation, enable_feedback, icon_size, surface_tint_color, shadow_color, bgcolor, icon_color, shape, padding * Dropdown: remove dense getter and setter * PopupMenuItem: padding, height * Page: locale_configuration * Card: rename NORMAL to ELEVATED * CircleAvatar: rename foreground_image_url and background_image_url to *_src * UrlTarget enum * PopupMenuButton: reintroduce on_cancelled, but as deprecated * Reformat: created control.attrColor to ease color parsing * ListView+GridView: cache_extent * AppBar: elevation_on_scroll, shadow_color, surface_tint_color, clip_behavior, force_material_transparency, is_secondary, title_spacing, exclude_header_semantics * Reformat: avoid spamming warnings * TextField: fill_color, hover_color * Dropdown: fill_color * Fix failing CI: omitted parenthesis * Locale: script_code * Locale: rename used_locale to default_locale * CupertinoBottomSheet default values * CupertinoBottomSheet: check the type of content control * Locale: rename default_locale to current_locale :) * TimePicker.value: avoid splitting None * AlertDialog: alignment, icon_color, scrollable, content_text_style, title_text_style, actions_overflow_button_spacing, * AppBar: toolbar_opacity, title_text_style, toolbar_text_style,shape * parseMouseCursor: defaultMouseCursor * Checkbox: visual_density, mouse_cursor * Banner: content_text_style, margin, elevation, divider_color, shadow_color, surface_tint_color, on_visible * CupertinoListTile: leading_size, leading_to_title * Chip: surface_tint_color, color, click_elevation, clip_behavior, visual_density, border_side * CupertinoRadio: toggleable, focus_color * CupertinoSegmentedButton: click_color * CupertinoSwitch: on_label_color, off_label_color * Switch: hover_color, splash_radius, overlay_color, track_outline_color,mouse_cursor * Snackbar: action_overflow_threshold * Tabs: is_secondary, mouseCursor, clipBehavior * Slider: mouse_cursor, secondary_track_value, secondary_active_color * PopupMenuItem: mouse_cursor * NavigationDrawerDestination: bgcolor * NavigationDestination: bgcolor * NavigationBar: overlay_color * CupertinoTimerPicker: item_extent * ExpansionTile: dense, enable_feedback, visual_density * SearchBar: keyboard_type, view_surface_tint_color, autofocus * NavigationRail: (un)selected_label_text_style | Destination: indicator_color, indicator_shape * IconButton: mouse_cursor, visual_density * Radio: mouse_cursor * FAB: mouse_cursor * DataTable: clip_behavior * DatePicker: on_entry_mode_change * ListTile: title_alignment, icon_color, text_color, shape, visual_density, mouse_cursor, title_text_style, subtitle_text_style, leading_and_trailing_text_style * TimePicker: on_entry_mode_change * Cleanup * Fix failing CI concerning circular import * Cleanup * Remove None from enums * Updated rive package version * Added Rive to CI --------- Co-authored-by: Feodor Fitsner <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added Properties:
AppBar
: elevation_on_scroll, exclude_header_semantics, force_material_transparency, is_secondary, shadow_color, surface_tint_color, clip_behavior, title_spacing, toolbar_opacity, title_text_style, toolbar_text_style, shapeAlertDialog
: action_button_padding, clip_behavior, icon_padding, shadow_color, surface_tint_colorBanner
: content_text_style, margin, elevation, divider_color, shadow_color, surface_tint_color, on_visibleCupertinoListTile
: leading_size, leading_to_titleCupertinoSegmentedButton
: click_colorCupertinoSwitch
:on_label_color, off_label_color
CupertinoTimerPicker
: item_extentChip
: surface_tint_color, color, click_elevation, clip_behavior, visual_density, border_sideDivider
: leading_indent, trailing_indentExpansionTile
: dense, enable_feedback, visual_densityCard
: clip_behavior, is_semantic_container, show_border_on_foreground, variantCheckbox
: border_side, semantics_label, shape, splash_radius, is_error, visual_density, mouse_cursorCircleAvatar
: on_image_errorDataTable
: clip_behaviorDatePicker
: on_entry_mode_changeDraggable
: on_drag_complete, on_drag_startDragTarget
: on_moveDropdown
: fill_color, hint_content, icon_content, elevation, item_height, max_menu_height, icon_size, enable_feedback, padding, icon_enabled_color, icon_disabled_color, on_clickElevatedButton
: clip_behaviorFloatingActionButton
: clip_behavior, enable_feedback, focus_color, foreground_color, disabled_elevation, elevation, focus_elevation, highlight_elevation, hover_elevation, mouse_cursorGridView
: cache_extent, clip_behavior, semantic_child_countIconButton
: alignment, disabled_color, focus_color, enable_feedback, hover_color, padding, splash_color, splash_radius, focus_color, mouse_cursor, visual_densityImage
: exclude_from_semantics, filter_qualityListTile
: enable_feedback, horizontal_spacing, min_leading_width, min_vertical_padding, selected_color, selected_tile_color, style, title_alignment, icon_color, text_color, shape, visual_density, mouse_cursor, title_text_style, subtitle_text_style, leading_and_trailing_text_styleListView
: cache_extent, clip_behavior, semantic_child_countNavigationBar
: animation_duration, overlay_colorNavigationDrawerDestination
: bgcolorNavigationDestination
: bgcolorNavigationRail
: selected_label_text_style, unselected_label_text_styleNavigationRailDestination
: indicator_color, indicator_shapeOption
: alignment, on_clickOutlinedButton
: clip_behaviorPage
: locale_configurationPopupMenuItem
: height, padding, mouse_cursorPopupMenuButton
: bgcolor, clip_behavior, elevation, enable_feedback, icon_color, shadow_color, surface_tint_color, icon_size, padding, splash_radius, shape, on_open, on_cancelProgressBar
: border_radius, semantics_label, semantics_valueProgressRing
: semantics_label, semantics_value, stroke_cap, stroke_alignRadio
: focus_color, hover_color, overlay_color, splash_radius, toggleable, visual_density, mouse_cursorSearchBar
: keyboard_type, view_surface_tint_color, autofocusSelectionArea
: on_changeSlider
: interaction, overlay_color, mouse_cursor, secondary_track_value, secondary_active_colorStack
: alignment, fitSnackBar
: clip_behavior, shape, on_visible, action_overflow_thresholdSwitch
: hover_color, splash_radius, overlay_color, track_outline_color, mouse_cursorTabs
: divider_height, enable_feedback, indicator_thickness, is_secondary, mouse_cursor, clip_behaviorTextField
: fill_color, hover_colorTimePicker
: orientation, on_entry_mode_changeTooltip
: enable_tap_to_dismiss, exclude_from_semanticsVerticalDivider
: leading_indent, trailing_indent