Make the text field macrobenchmark work in debug mode (#62523)
This commit is contained in:
@@ -7,16 +7,18 @@ import 'package:flutter/material.dart';
|
||||
class TextPage extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
width: 200,
|
||||
height: 100,
|
||||
child: const TextField(
|
||||
key: Key('basic-textfield'),
|
||||
return Material(
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
width: 200,
|
||||
height: 100,
|
||||
child: const TextField(
|
||||
key: Key('basic-textfield'),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user