Skip to content

Commit 3f94d76

Browse files
committed
build devtool extension
1 parent 229e266 commit 3f94d76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:debug_panel_devtool/listen_event.dart';
2+
import 'package:devtools_extensions/devtools_extensions.dart';
23
import 'package:flutter/material.dart';
34

45
void main() {
@@ -11,9 +12,8 @@ class MyApp extends StatelessWidget {
1112
// This widget is the root of your application.
1213
@override
1314
Widget build(BuildContext context) {
14-
return const MaterialApp(
15-
title: 'Flutter Demo',
16-
home: ListeningForDevToolsEventExample(),
15+
return const DevToolsExtension(
16+
child: ListeningForDevToolsEventExample(),
1717
);
1818
}
1919
}

0 commit comments

Comments
 (0)