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'; ...@@ -7,16 +7,18 @@ import 'package:flutter/material.dart';
class TextPage extends StatelessWidget { class TextPage extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Column( return Material(
children: <Widget>[ child: Column(
Container( children: <Widget>[
width: 200, Container(
height: 100, width: 200,
child: const TextField( height: 100,
key: Key('basic-textfield'), 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