File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,12 @@ class _AstNodeTreeViewState extends State<AstNodeTreeView> {
6161 nodeBuilder: (context, entry) {
6262 final astNode = entry.node.value;
6363 return Ink (
64- color: widget.selected == astNode ? theme.colorScheme.primaryContainer : null ,
64+ decoration: BoxDecoration (
65+ color: widget.selected == astNode ? theme.colorScheme.primaryContainer : null ,
66+ borderRadius: const BorderRadius .all (Radius .circular (4.0 )),
67+ ),
6568 child: InkWell (
69+ borderRadius: const BorderRadius .all (Radius .circular (4.0 )),
6670 onTap: () {
6771 widget.onNodeChanged (astNode);
6872 },
@@ -73,9 +77,12 @@ class _AstNodeTreeViewState extends State<AstNodeTreeView> {
7377 indent: 24 ,
7478 color: theme.dividerColor,
7579 ),
76- child: Text (
77- getAstNodeTypeName (astNode),
78- overflow: TextOverflow .ellipsis,
80+ child: Padding (
81+ padding: const EdgeInsets .symmetric (horizontal: 4.0 ),
82+ child: Text (
83+ getAstNodeTypeName (astNode),
84+ overflow: TextOverflow .ellipsis,
85+ ),
7986 ),
8087 ),
8188 ),
You can’t perform that action at this time.
0 commit comments