Skip to content

Commit f7832e0

Browse files
committed
feat: enhance TopMenu to display Flutter version with WASM label
1 parent 69157a4 commit f7832e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/widgets/top_menu.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ class TopMenu extends StatelessWidget {
3232
onPressed: () => context.go('/'),
3333
child: Icon(Icons.home, size: 20),
3434
),
35+
const Spacer(),
36+
if (isRunningWithWasm) ...[
37+
const SizedBox(width: 8),
38+
Text('${FlutterVersion.version} (WASM)'),
39+
],
3540
],
3641
),
3742
);

0 commit comments

Comments
 (0)