* Modify focus traversal policy search to use focus tree instead of widget tree
* Eliminate unnecessary inherited widget
* Remove unintentional change
* Look for focus nodes without creating a dependency.
* Add test
* Review Changes
* Fix debug_test.dart
* Rebase onto master
* Fix DataCell overflows when cell height is large by adding dataRowMinHeight, dataRowMaxHeight props.
* Fix DataCell overflows when cell height is large by adding dataRowMinHeight, dataRowMaxHeight props - add tests.
* Fix analysis errors
* Review changes.
* Add asserts for dataRowMinHeight and dataRowMaxHeight
* Add asserts for dataRowMinHeight and dataRowMaxHeight
* Make dataRowHeight a computed getter
* Remove get only dataRowHeight from hashCode...
* Update deprecated after
* Add new line at end of AUTHORS
* Apply suggestions from code review
* Update packages/flutter/test/material/data_table_test.dart
---------
Co-authored-by: Kate Lovett <katelovett@google.com>
Fixes#109675.
This formula would produce an initial velocity quite different
from the one specified as an argument.
To update the test, I computed the expected results separately
by using the physical formula.
Happily, the framework by default never ends up actually exercising
this code. Of the four SpringDescription call sites within the
framework, two are explicitly overdamped; the other two are by
design critically damped, but due to rounding they end up being
treated as (very slightly) overdamped too. Details here:
https://github.com/flutter/flutter/issues/109675#issuecomment-1423674855
So the only way an app could be affected by this bug is if it called
a SpringDescription constructor itself, and managed to create a spring
description where the distinguishing formula in _SpringSolution comes
out exactly equal to zero. It's likely nobody has ever shipped such
an app, because the behavior this produces would be so wildly wrong
that it'd be hard to miss when exercised.
Co-authored-by: Kate Lovett <katelovett@google.com>
* Fix `SliverAppBar.medium` & `SliverAppBar.large` title overlap with leading/actions widgets, leading width, and title spacing
* Add `titleSpacing` theme tests and consolidate multiple tests for the same widgets
* Add ResizeImage.policy
This adds a new `ResizeImage.policy` property that controls how `ResizeImage`
will interpret its `width` and `height` properties. The existing behavior is
preserved via `ResizeImagePolicy.exact` (default), but there is now the option
to use `ResizeImagePolicy.fit`, which satisfies the use case outlined in
flutter/flutter#118543.
The API doc assets were added in flutter/assets-for-api-docs#209Fixesflutter/flutter#118543
* Docuemnt public member
* Remove protected annotation from overrides - was failing tests
* Fixed analysis of code in Dartdoc
* More dartdoc code analysis fixes
* One more fix
* Review comments
* Fixed Material3 TabBarTheme.dividerColor not working
* Add 'Material3 - TabBar inherits the dividerColor of TabBarTheme' test
---------
Co-authored-by: Kate Lovett <katelovett@google.com>
* add padding param to DropdownButton
* improve padding comment
* update test
* Add more context to documentation
* update padding documentation with more detail
---------
Co-authored-by: Kate Lovett <katelovett@google.com>
* Add ActionButtonIconsData for overriding action icons
* Fix formatting issues
* Add missing exports in material library and add copyWith method in ActionButtonIconsData
* Move all action buttons, and icons to action_buttons.dart
* Rename actionButtonIcons to actionIconTheme
* Refactor buttons in action_buttons.dart to extend a private class for common implementation
* Refactor icons in action_buttons
* Fix docs in action_buttons_theme
* Fix#107646 always use 'Icons.arrow_back' as a back_button icon in web
* Update documentation for action buttons and add style parameter to every action button
* Fix analyzer warnings
* Add missing style argument in IconButton of _ActionButton
* Add tests for action buttons, action icon theme, drawer buttons, and back buttons
* Add example (+test) for action icon button's action icon theme in examples/api
* Fix analysis errors
* Add missing license header in action_icon_theme.0.dart
* Fix deprecation notice in theme_data.dart
* Update theme data tests for actionIconTheme
* Remove iconSize parameter from ActionButtons and update docs
* Fix failing tests
* Update button color during backbutton tests to red
* Fix analytics issues
* Fix format
* Allow any JS file in flutter loader.
* Nag only if service worker API is completely unavailable.
* Add info about Secure Contexts if that may be the reason why serviceworker is not available.
* Update sanity test.
* If service worker settings are null, do not even check if the API is available.
* allow passing --file-reporter option to test running refs #69425
* Add trailing comma to help to meet style requirements
* Add space between tests for clarity
---------
Co-authored-by: daniel-v <dvarga@skawa.hu>
* add asset manifest bin loading and asset manifest api
* use new api for image resolution
* remove upfront smc data casting
* fix typecasting issue
* remove unused import
* fix tests
* lints
* lints
* fix import
* fix outdated type name
* restore AssetManifest docstrings
* update test
* update other test
* make error message for invalid keys more useful