* Create icons golden test
* Update icons_test.dart
* Update icons_test.dart
* Update icons_test.dart
* change test name
* Add ability to load material icon font for golden tests
* formatting
* Skip test for browser
* Add end of file newline
This reverts commit 4901744e62f67ad10440725d2c97e84e66ce77f5, which was a minor breaking change that I missed. Will try to open the PR again following the breaking change process.
* Minor doc, style, and perf updates to Navigator/Routes
These are minor fixes I ended up making while working on a larger
project that never went anywhere.
- Used a ColoredBox instead of a DecoratedBox for ModalBarrier
(probably a trivial memory/perf win).
- A bunch of Navigator documentation fixes around when things rebuild.
- Mark routes dirty when the Navigator has a dependency change. I
cannot find a way to test this because as far as I can tell it makes
no actual difference to when things rebuild because whenever the
Navigator rebuilds the Overlay rebuilds and whenever that happens
every OverlayEntry rebuilds, but in theory that's not guaranteed so
this is sort of a correctness fix. It may even be a perf loss. We do
something similar in didUpdateWidget already. I could be convinced
to maybe remove these...
- Make ModalRoute.filter public like everything else.
- Made ModalRoute update its barrier when it gets an update, in case
e.g. the modal barrier depends on inherited widgets via the
navigator context. Again, not sure of any way to detect this, it
might actually be moot, but it seems to be the technically correct
solution?
- Minor style fixes.
All in all I couldn't figure out a way to test any of this (I wrote
multiple large tests but it turns out they all already pass on master
and are effectively redundant with existing tests).
* Remove extraneous blank line
Allows passing in a TextEditingController and FocusNode to RawAutocomplete, which enables split UIs where the TextField is in another part of the tree from the results.
* TextField's hintText should support TextDirection.
There are many cases for RTL languages that the TextField's label is RTL but the input direction is LTR (e.g. email address). Therefore we may need to change the directionality of the hintText.
* Update input_decorator.dart
* Adds hintTextDirection tests.
* React to reviewer's comments.
* Fixes two more analysis issues.