diff --git a/dev/benchmarks/macrobenchmarks/lib/src/text.dart b/dev/benchmarks/macrobenchmarks/lib/src/text.dart index 58f3488b02..10410194e3 100644 --- a/dev/benchmarks/macrobenchmarks/lib/src/text.dart +++ b/dev/benchmarks/macrobenchmarks/lib/src/text.dart @@ -7,16 +7,18 @@ import 'package:flutter/material.dart'; class TextPage extends StatelessWidget { @override Widget build(BuildContext context) { - return Column( - children: [ - Container( - width: 200, - height: 100, - child: const TextField( - key: Key('basic-textfield'), + return Material( + child: Column( + children: [ + Container( + width: 200, + height: 100, + child: const TextField( + key: Key('basic-textfield'), + ), ), - ), - ], + ], + ), ); } }