Unverified Commit e5de16a2 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Make the text field macrobenchmark work in debug mode (#62523)

parent 4f09f2c2
......@@ -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'),
),
),
),
],
],
),
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment