mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Make the text field macrobenchmark work in debug mode (#62523)
This commit is contained in:
parent
4f09f2c2bd
commit
e5de16a247
|
@ -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'),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue