| // Copyright 2014 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| import 'package:flutter/material.dart'; |
| |
| import 'material3.dart'; |
| import 'recorder.dart'; |
| |
| /// Measures how expensive it is to construct the material 3 components screen. |
| class BenchMaterial3Components extends WidgetBuildRecorder { |
| BenchMaterial3Components() : super(name: benchmarkName); |
| |
| static const String benchmarkName = 'bench_material3_components'; |
| |
| @override |
| Widget createWidget() { |
| return const TwoColumnMaterial3Components(); |
| } |
| } |