Commit 8f5d037
authored
TextField's hintText should support TextDirection. (flutter#69534)
* 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.1 parent 5f46931 commit 8f5d037
File tree
2 files changed
+55
-0
lines changed- packages/flutter
- lib/src/material
- test/material
2 files changed
+55
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
| 2167 | + | |
2167 | 2168 | | |
2168 | 2169 | | |
2169 | 2170 | | |
| |||
2509 | 2510 | | |
2510 | 2511 | | |
2511 | 2512 | | |
| 2513 | + | |
2512 | 2514 | | |
2513 | 2515 | | |
2514 | 2516 | | |
| |||
2566 | 2568 | | |
2567 | 2569 | | |
2568 | 2570 | | |
| 2571 | + | |
2569 | 2572 | | |
2570 | 2573 | | |
2571 | 2574 | | |
| |||
2687 | 2690 | | |
2688 | 2691 | | |
2689 | 2692 | | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
2690 | 2699 | | |
2691 | 2700 | | |
2692 | 2701 | | |
| |||
3307 | 3316 | | |
3308 | 3317 | | |
3309 | 3318 | | |
| 3319 | + | |
3310 | 3320 | | |
3311 | 3321 | | |
3312 | 3322 | | |
| |||
3352 | 3362 | | |
3353 | 3363 | | |
3354 | 3364 | | |
| 3365 | + | |
3355 | 3366 | | |
3356 | 3367 | | |
3357 | 3368 | | |
| |||
3440 | 3451 | | |
3441 | 3452 | | |
3442 | 3453 | | |
| 3454 | + | |
3443 | 3455 | | |
3444 | 3456 | | |
3445 | 3457 | | |
| |||
3488 | 3500 | | |
3489 | 3501 | | |
3490 | 3502 | | |
| 3503 | + | |
3491 | 3504 | | |
3492 | 3505 | | |
3493 | 3506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
584 | 626 | | |
0 commit comments