Skip to content

Commit 749ce12

Browse files
committed
update widgets
1 parent b8594b7 commit 749ce12

File tree

3 files changed

+244
-243
lines changed

3 files changed

+244
-243
lines changed

dataconnect/lib/destination.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ class Route {
99
final String path;
1010
final String label;
1111
final IconData iconData;
12+
13+
NavigationDestination toDestination() {
14+
return NavigationDestination(
15+
icon: Icon(iconData),
16+
label: label,
17+
);
18+
}
1219
}
1320

1421
final homePath = Route(

0 commit comments

Comments
 (0)