We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645ae8a commit 57dc8b5Copy full SHA for 57dc8b5
test/widgets/content_test.dart
@@ -186,11 +186,11 @@ void main() {
186
/// [styleFinder] must return the [TextStyle] containing the "wght"
187
/// (in [TextStyle.fontVariations]) and the [TextStyle.fontWeight]
188
/// to be checked.
189
- Future<void> testFontWeight(String description, {
+ void testFontWeight(String description, {
190
required Widget content,
191
required double expectedWght,
192
required TextStyle Function(WidgetTester tester) styleFinder,
193
- }) async {
+ }) {
194
for (final platformRequestsBold in [false, true]) {
195
testWidgets(
196
description + (platformRequestsBold ? ' (platform requests bold)' : ''),
0 commit comments