Commit 556f492
Controls Enhancement (#2882)
* initial commit
* Pass data to Control.__init__
Fixes #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 #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]>1 parent dc9cc6c commit 556f492
File tree
162 files changed
+4527
-1287
lines changed- client
- packages
- flet_rive
- flet_video/lib/src
- flet
- lib/src
- controls
- models
- utils
- sdk/python/packages/flet-core
- src/flet_core
- canvas
- charts
- pubsub
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
162 files changed
+4527
-1287
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| |||
169 | 174 | | |
170 | 175 | | |
171 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
172 | 181 | | |
173 | 182 | | |
174 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
303 | 308 | | |
304 | 309 | | |
305 | 310 | | |
| |||
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
395 | 408 | | |
396 | 409 | | |
397 | 410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
80 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
| 90 | + | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
86 | 104 | | |
87 | 105 | | |
88 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
60 | 76 | | |
61 | 77 | | |
62 | 78 | | |
| |||
81 | 97 | | |
82 | 98 | | |
83 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
84 | 114 | | |
85 | 115 | | |
86 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | | - | |
47 | | - | |
| 44 | + | |
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
63 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
64 | 76 | | |
65 | 77 | | |
66 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
208 | | - | |
209 | | - | |
| 207 | + | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
234 | | - | |
235 | | - | |
| 232 | + | |
| 233 | + | |
236 | 234 | | |
237 | 235 | | |
238 | 236 | | |
| |||
333 | 331 | | |
334 | 332 | | |
335 | 333 | | |
336 | | - | |
337 | | - | |
| 334 | + | |
338 | 335 | | |
339 | 336 | | |
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
343 | 340 | | |
344 | | - | |
345 | | - | |
| 341 | + | |
346 | 342 | | |
347 | 343 | | |
348 | 344 | | |
| |||
370 | 366 | | |
371 | 367 | | |
372 | 368 | | |
373 | | - | |
374 | | - | |
| 369 | + | |
375 | 370 | | |
376 | 371 | | |
377 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
93 | | - | |
| 91 | + | |
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
235 | | - | |
236 | | - | |
237 | | - | |
| 234 | + | |
238 | 235 | | |
239 | 236 | | |
240 | 237 | | |
| |||
333 | 330 | | |
334 | 331 | | |
335 | 332 | | |
336 | | - | |
337 | | - | |
338 | | - | |
| 333 | + | |
339 | 334 | | |
340 | 335 | | |
341 | 336 | | |
| |||
0 commit comments