Skip to content

Commit

Permalink
feature freeze 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mglsj committed Jun 9, 2024
1 parent f60b72b commit 2a7dc60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 25 deletions.
19 changes: 6 additions & 13 deletions lib/widgets/edge_info_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,14 @@ class _EdgeInfoBoxState extends State<EdgeInfoBox> {
label: const Text("Reverse"),
icon: const Icon(Icons.swap_horiz_outlined),
),
const SizedBox(height: 10),
Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.end,
children: [
FilledButton(
child: const Text("Done"),
onPressed: () {
Navigator.of(context).pop();
},
),
],
)
],
),
actions: [
TextButton(
onPressed: () => Navigator.of(context).pop(),
child: const Text("Close"),
),
],
);
}
}
18 changes: 6 additions & 12 deletions lib/widgets/vertex_info_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,14 @@ class _VertexInfoBoxState extends State<VertexInfoBox> {
},
),
const SizedBox(height: 10),
Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.end,
children: [
FilledButton(
child: const Text("Done"),
onPressed: () {
Navigator.of(context).pop();
},
),
],
)
],
),
actions: [
TextButton(
onPressed: () => Navigator.of(context).pop(),
child: const Text("Close"),
),
],
);
}
}

0 comments on commit 2a7dc60

Please sign in to comment.