Bruno Leroux
d8ef702714
Cleanup InputDecoration.collapsed constructor ( #152165 )
...
## Description
This PR attemps to clarify the `InputDecoration.collapsed` documentation by explaining that it is not meant to be use with helper, label, counter, icons, prefixes and suffixes.
It also adds some parameters that make sense for a collapsed decoration (`hintMaxLines`, `hintFadeDuration`, `constraints`).
Removing parameters that should not have been added (`floatingLabelBehavior` and `floatingLabelAlignment`) will be part of another PR as it will require deprecations.
## Related Issue
Fixes https://github.com/flutter/flutter/issues/61331
## Tests
Adds 3 tests.
2024-07-25 20:51:00 +00:00
..
2024-07-16 17:47:18 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-24 21:17:06 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-25 20:51:00 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-04-08 22:01:05 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-24 21:17:06 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-05-13 22:45:51 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-24 22:47:55 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-08 21:12:04 +00:00
2024-05-29 00:20:18 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-08 21:12:04 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-08 21:12:04 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-06-18 17:52:21 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-03-01 06:40:47 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-22 20:50:50 +00:00
2024-07-23 19:23:07 +00:00
2024-07-23 19:23:07 +00:00
2024-07-22 20:50:50 +00:00