aboutsummaryrefslogtreecommitdiffstats
path: root/lib/homescreen.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/homescreen.dart')
-rw-r--r--lib/homescreen.dart3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/homescreen.dart b/lib/homescreen.dart
index edb2acc..944355c 100644
--- a/lib/homescreen.dart
+++ b/lib/homescreen.dart
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
+import 'package:flutter_homescreen/demo_3d.dart';
import 'package:provider/provider.dart';
import 'package:flutter_homescreen/homescreen_model.dart';
import 'package:flutter_homescreen/page_dashboard.dart';
@@ -40,7 +41,7 @@ class _HomescreenState extends State<Homescreen> with TickerProviderStateMixin {
case PageIndex.media:
return MediaPage(key: ValueKey(selectedIndex));
case PageIndex.demo3d:
- return Text('3D demo');
+ return Demo3dPage(key: ValueKey(selectedIndex));
default:
return Text('Undefined');
}