mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
benchmarkWidgets.semanticsEnabled default false. (#35280)
In order not to break existing benchmarks.
This commit is contained in:
parent
df6e4d4872
commit
94dbdcba73
@ -173,7 +173,7 @@ void testWidgets(
|
|||||||
Future<void> benchmarkWidgets(
|
Future<void> benchmarkWidgets(
|
||||||
WidgetTesterCallback callback, {
|
WidgetTesterCallback callback, {
|
||||||
bool mayRunWithAsserts = false,
|
bool mayRunWithAsserts = false,
|
||||||
bool semanticsEnabled = true,
|
bool semanticsEnabled = false,
|
||||||
}) {
|
}) {
|
||||||
assert(() {
|
assert(() {
|
||||||
if (mayRunWithAsserts)
|
if (mayRunWithAsserts)
|
||||||
|
Loading…
Reference in New Issue
Block a user