File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -121,3 +121,8 @@ extension ElementChecks on Subject<Element> {
121
121
Subject <Size ?> get size => has ((t) => t.size, 'size' );
122
122
// TODO more
123
123
}
124
+
125
+ extension MediaQueryDataChecks on Subject <MediaQueryData > {
126
+ Subject <TextScaler > get textScaler => has ((x) => x.textScaler, 'textScaler' );
127
+ // TODO more
128
+ }
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ void main() {
127
127
await setupChipsInBox (tester, reactions: reactions);
128
128
129
129
final reactionChipsList = tester.element (find.byType (ReactionChipsList ));
130
+ check (MediaQuery .of (reactionChipsList))
131
+ .textScaler.equals (TextScaler .linear (textScaleFactor));
130
132
check (Directionality .of (reactionChipsList)).equals (textDirection);
131
133
132
134
// TODO(upstream) Do these in an addTearDown, once we can:
You can’t perform that action at this time.
0 commit comments