@@ -688,152 +688,182 @@ void main() {
688
688
// Day grid.
689
689
expect (tester.getSemantics (find.text ('1' )), matchesSemantics (
690
690
label: '1, Friday, January 1, 2016' ,
691
+ isButton: true ,
691
692
hasTapAction: true ,
692
693
isFocusable: true ,
693
694
));
694
695
expect (tester.getSemantics (find.text ('2' )), matchesSemantics (
695
696
label: '2, Saturday, January 2, 2016' ,
697
+ isButton: true ,
696
698
hasTapAction: true ,
697
699
isFocusable: true ,
698
700
));
699
701
expect (tester.getSemantics (find.text ('3' )), matchesSemantics (
700
702
label: '3, Sunday, January 3, 2016, Today' ,
703
+ isButton: true ,
701
704
hasTapAction: true ,
702
705
isFocusable: true ,
703
706
));
704
707
expect (tester.getSemantics (find.text ('4' )), matchesSemantics (
705
708
label: '4, Monday, January 4, 2016' ,
709
+ isButton: true ,
706
710
hasTapAction: true ,
707
711
isFocusable: true ,
708
712
));
709
713
expect (tester.getSemantics (find.text ('5' )), matchesSemantics (
710
714
label: '5, Tuesday, January 5, 2016' ,
715
+ isButton: true ,
711
716
hasTapAction: true ,
712
717
isFocusable: true ,
713
718
));
714
719
expect (tester.getSemantics (find.text ('6' )), matchesSemantics (
715
720
label: '6, Wednesday, January 6, 2016' ,
721
+ isButton: true ,
716
722
hasTapAction: true ,
717
723
isFocusable: true ,
718
724
));
719
725
expect (tester.getSemantics (find.text ('7' )), matchesSemantics (
720
726
label: '7, Thursday, January 7, 2016' ,
727
+ isButton: true ,
721
728
hasTapAction: true ,
722
729
isFocusable: true ,
723
730
));
724
731
expect (tester.getSemantics (find.text ('8' )), matchesSemantics (
725
732
label: '8, Friday, January 8, 2016' ,
733
+ isButton: true ,
726
734
hasTapAction: true ,
727
735
isFocusable: true ,
728
736
));
729
737
expect (tester.getSemantics (find.text ('9' )), matchesSemantics (
730
738
label: '9, Saturday, January 9, 2016' ,
739
+ isButton: true ,
731
740
hasTapAction: true ,
732
741
isFocusable: true ,
733
742
));
734
743
expect (tester.getSemantics (find.text ('10' )), matchesSemantics (
735
744
label: '10, Sunday, January 10, 2016' ,
745
+ isButton: true ,
736
746
hasTapAction: true ,
737
747
isFocusable: true ,
738
748
));
739
749
expect (tester.getSemantics (find.text ('11' )), matchesSemantics (
740
750
label: '11, Monday, January 11, 2016' ,
751
+ isButton: true ,
741
752
hasTapAction: true ,
742
753
isFocusable: true ,
743
754
));
744
755
expect (tester.getSemantics (find.text ('12' )), matchesSemantics (
745
756
label: '12, Tuesday, January 12, 2016' ,
757
+ isButton: true ,
746
758
hasTapAction: true ,
747
759
isFocusable: true ,
748
760
));
749
761
expect (tester.getSemantics (find.text ('13' )), matchesSemantics (
750
762
label: '13, Wednesday, January 13, 2016' ,
763
+ isButton: true ,
751
764
hasTapAction: true ,
752
765
isFocusable: true ,
753
766
));
754
767
expect (tester.getSemantics (find.text ('14' )), matchesSemantics (
755
768
label: '14, Thursday, January 14, 2016' ,
769
+ isButton: true ,
756
770
hasTapAction: true ,
757
771
isFocusable: true ,
758
772
));
759
773
expect (tester.getSemantics (find.text ('15' )), matchesSemantics (
760
774
label: '15, Friday, January 15, 2016' ,
775
+ isButton: true ,
761
776
hasTapAction: true ,
762
777
isSelected: true ,
763
778
isFocusable: true ,
764
779
));
765
780
expect (tester.getSemantics (find.text ('16' )), matchesSemantics (
766
781
label: '16, Saturday, January 16, 2016' ,
782
+ isButton: true ,
767
783
hasTapAction: true ,
768
784
isFocusable: true ,
769
785
));
770
786
expect (tester.getSemantics (find.text ('17' )), matchesSemantics (
771
787
label: '17, Sunday, January 17, 2016' ,
788
+ isButton: true ,
772
789
hasTapAction: true ,
773
790
isFocusable: true ,
774
791
));
775
792
expect (tester.getSemantics (find.text ('18' )), matchesSemantics (
776
793
label: '18, Monday, January 18, 2016' ,
794
+ isButton: true ,
777
795
hasTapAction: true ,
778
796
isFocusable: true ,
779
797
));
780
798
expect (tester.getSemantics (find.text ('19' )), matchesSemantics (
781
799
label: '19, Tuesday, January 19, 2016' ,
800
+ isButton: true ,
782
801
hasTapAction: true ,
783
802
isFocusable: true ,
784
803
));
785
804
expect (tester.getSemantics (find.text ('20' )), matchesSemantics (
786
805
label: '20, Wednesday, January 20, 2016' ,
806
+ isButton: true ,
787
807
hasTapAction: true ,
788
808
isFocusable: true ,
789
809
));
790
810
expect (tester.getSemantics (find.text ('21' )), matchesSemantics (
791
811
label: '21, Thursday, January 21, 2016' ,
812
+ isButton: true ,
792
813
hasTapAction: true ,
793
814
isFocusable: true ,
794
815
));
795
816
expect (tester.getSemantics (find.text ('22' )), matchesSemantics (
796
817
label: '22, Friday, January 22, 2016' ,
818
+ isButton: true ,
797
819
hasTapAction: true ,
798
820
isFocusable: true ,
799
821
));
800
822
expect (tester.getSemantics (find.text ('23' )), matchesSemantics (
801
823
label: '23, Saturday, January 23, 2016' ,
824
+ isButton: true ,
802
825
hasTapAction: true ,
803
826
isFocusable: true ,
804
827
));
805
828
expect (tester.getSemantics (find.text ('24' )), matchesSemantics (
806
829
label: '24, Sunday, January 24, 2016' ,
830
+ isButton: true ,
807
831
hasTapAction: true ,
808
832
isFocusable: true ,
809
833
));
810
834
expect (tester.getSemantics (find.text ('25' )), matchesSemantics (
811
835
label: '25, Monday, January 25, 2016' ,
836
+ isButton: true ,
812
837
hasTapAction: true ,
813
838
isFocusable: true ,
814
839
));
815
840
expect (tester.getSemantics (find.text ('26' )), matchesSemantics (
816
841
label: '26, Tuesday, January 26, 2016' ,
842
+ isButton: true ,
817
843
hasTapAction: true ,
818
844
isFocusable: true ,
819
845
));
820
846
expect (tester.getSemantics (find.text ('27' )), matchesSemantics (
821
847
label: '27, Wednesday, January 27, 2016' ,
848
+ isButton: true ,
822
849
hasTapAction: true ,
823
850
isFocusable: true ,
824
851
));
825
852
expect (tester.getSemantics (find.text ('28' )), matchesSemantics (
826
853
label: '28, Thursday, January 28, 2016' ,
854
+ isButton: true ,
827
855
hasTapAction: true ,
828
856
isFocusable: true ,
829
857
));
830
858
expect (tester.getSemantics (find.text ('29' )), matchesSemantics (
831
859
label: '29, Friday, January 29, 2016' ,
860
+ isButton: true ,
832
861
hasTapAction: true ,
833
862
isFocusable: true ,
834
863
));
835
864
expect (tester.getSemantics (find.text ('30' )), matchesSemantics (
836
865
label: '30, Saturday, January 30, 2016' ,
866
+ isButton: true ,
837
867
hasTapAction: true ,
838
868
isFocusable: true ,
839
869
));
0 commit comments