You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text_change event for Dropdown and more integration tests (#5591)
* Add size constraints to SearchBar and improve docs
Introduces `bar_size_constraints` to the SearchBar control and theme, allowing optional size constraints. Also updates and expands documentation for SearchBar properties and SearchBarTheme overrides for better clarity and developer guidance.
* Add integration test for SearchBar on macOS
Introduces a new integration test for the SearchBar control, including golden images for its basic and opened states on macOS. The test verifies SearchBar rendering and interaction, ensuring correct UI behavior.
* Add themed SearchBar integration test for macOS
Introduces a new test for SearchBar theming in macOS, including screenshots for normal, hovered, and opened states. Verifies custom theme properties and interaction behaviors.
* Add padding and shrink_wrap options to SearchBar
Introduces viewPadding, viewBarPadding, and shrinkWrap properties to SearchBar and SearchViewTheme for enhanced customization. Updates integration tests and documentation to reflect new options for controlling search view layout and appearance.
* Remove unused ListTile click handlers in SearchBar tests
Eliminated the handle_tile_click function and its usage in SearchBar integration tests, as the click handler is no longer needed. Also added detailed docstrings to NavigationDrawerTheme fields for improved documentation.
* Refactor navigation drawer tests and add theme test
Renamed screenshot files and updated test names for clarity. Added a new test for navigation drawer theme and its corresponding golden image. Refactored fixture usage and screenshot assertions to improve test structure and maintainability.
* Add label_padding to NavigationBar and theme docs
Introduces the label_padding property to NavigationBar and NavigationBarTheme for customizing label padding. Improves and clarifies documentation for NavigationBar, TabBar, SearchBarTheme, SearchViewTheme, and NavigationDrawerTheme properties, including corrections to property references and expanded descriptions.
* Add themed NavigationBar integration tests for macOS
Renamed navigation_bar.png to basic.png and added new golden images for themed NavigationBar states. Updated test_navigation_bar.py to include separate tests for basic and themed NavigationBar, verifying appearance under different theme settings and user interactions.
* Enhance SegmentedButton icon support and tests
Updated SegmentedButton to support both IconData and Control for selected_icon. Improved integration tests for segmented button, added golden images for macOS, and documented SegmentedButtonTheme options. Also clarified NavigationBarTheme test comments.
* Add text change event to Dropdown control
Introduces a text change event handler for the Dropdown control in both Dart and Python implementations. The Dart Dropdown now uses a TextEditingController to track input changes, updating properties and triggering the new 'text_change' event. The Python Dropdown class adds an 'on_text_change' callback for handling text input changes.
* Update dropdown.dart
* Refactor icon test and improve IconTheme docs
Renamed and updated the icon test to use function-scoped async fixtures and improved test isolation. Enhanced documentation for IconTheme properties with detailed docstrings. Removed and replaced golden image files for icon and segmented button tests.
* Add icon theme integration test and fix BoxShadow type
Introduces a new integration test for icon theme settings, including screenshot validation. Updates IconTheme's 'shadows' attribute type from list[BoxShadow] to BoxShadowValue for consistency with usage.
* Improve theme class docstrings and DataTableTheme docs
Refined docstrings for NavigationDrawerTheme, NavigationBarTheme, SegmentedButtonTheme, and IconTheme to clarify scope as app-wide. Expanded DataTableTheme docstring and added detailed documentation for each property, specifying their purpose and corresponding DataTable attributes.
0 commit comments