Commit 841fe90
authored
[two_dimensional_scrollables] Fix TableSpanDecoration rects when axes are reversed (flutter#5916)
Fixes flutter/flutter#141704
This fixes the rect computation for TableSpanDecorations when one or both axes are reversed.
We previously fixed similar issues when the clipRects applied to areas of the table did not account for reversed. This is another similar case.
- flutter#5187
- flutter#5038
1 parent 88b7d16 commit 841fe90
4 files changed
Lines changed: 697 additions & 7 deletions
File tree
- packages/two_dimensional_scrollables
- lib/src/table_view
- test/table_view
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
864 | 872 | | |
865 | 873 | | |
866 | 874 | | |
867 | 875 | | |
868 | 876 | | |
869 | | - | |
| 877 | + | |
870 | 878 | | |
871 | 879 | | |
872 | 880 | | |
873 | 881 | | |
874 | 882 | | |
875 | 883 | | |
876 | | - | |
| 884 | + | |
877 | 885 | | |
878 | 886 | | |
879 | 887 | | |
880 | 888 | | |
881 | 889 | | |
882 | 890 | | |
883 | | - | |
| 891 | + | |
| 892 | + | |
884 | 893 | | |
885 | 894 | | |
886 | 895 | | |
887 | 896 | | |
888 | | - | |
| 897 | + | |
| 898 | + | |
889 | 899 | | |
890 | 900 | | |
891 | 901 | | |
| |||
910 | 920 | | |
911 | 921 | | |
912 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
913 | 930 | | |
914 | 931 | | |
915 | 932 | | |
916 | 933 | | |
917 | | - | |
| 934 | + | |
918 | 935 | | |
919 | 936 | | |
920 | 937 | | |
921 | 938 | | |
922 | 939 | | |
923 | 940 | | |
924 | | - | |
| 941 | + | |
925 | 942 | | |
926 | 943 | | |
927 | 944 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments