File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed
packages/devtools_app/lib/src/shared/console/widgets Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,23 @@ import '../../primitives/utils.dart';
1919import '../../ui/colors.dart' ;
2020import 'description.dart' ;
2121
22+ /// The display provider for variables fetched via the VM service protocol.
23+ class DisplayProvider extends StatefulWidget {
24+ const DisplayProvider ({
25+ super .key,
26+ required this .variable,
27+ required this .onTap,
28+ this .onCopy,
29+ });
30+
31+ final DartObjectNode variable;
32+ final VoidCallback onTap;
33+ final void Function (DartObjectNode )? onCopy;
34+
35+ @override
36+ State <DisplayProvider > createState () => _DisplayProviderState ();
37+ }
38+
2239class OverflowingText extends StatelessWidget {
2340 const OverflowingText ({
2441 super .key,
@@ -43,22 +60,6 @@ class OverflowingText extends StatelessWidget {
4360 }
4461}
4562
46- /// The display provider for variables fetched via the VM service protocol.
47- class DisplayProvider extends StatefulWidget {
48- const DisplayProvider ({
49- super .key,
50- required this .variable,
51- required this .onTap,
52- this .onCopy,
53- });
54-
55- final DartObjectNode variable;
56- final VoidCallback onTap;
57- final void Function (DartObjectNode )? onCopy;
58-
59- @override
60- State <DisplayProvider > createState () => _DisplayProviderState ();
61- }
6263
6364class _DisplayProviderState extends State <DisplayProvider > {
6465 bool isHovered = false ;
You can’t perform that action at this time.
0 commit comments