aboutsummaryrefslogtreecommitdiffstats
path: root/lib/demo_3d.dart
diff options
context:
space:
mode:
authorFelipe Erias <felipeerias@igalia.com>2021-12-06 15:08:20 +0900
committerFelipe Erias <felipeerias@igalia.com>2021-12-06 15:08:20 +0900
commit08bf271f7f1f14153a41005718a2090fa8e783f0 (patch)
tree25a98e382ceac2b4285dc7bcd5a7b76d8e293038 /lib/demo_3d.dart
parent122c32589fb76afc4d04252930221e91c1d31a5f (diff)
Placeholder for the 3D demo
Diffstat (limited to 'lib/demo_3d.dart')
-rw-r--r--lib/demo_3d.dart20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/demo_3d.dart b/lib/demo_3d.dart
new file mode 100644
index 0000000..9aeda40
--- /dev/null
+++ b/lib/demo_3d.dart
@@ -0,0 +1,20 @@
+import 'package:flutter/material.dart';
+
+// A 3D demo.
+class Demo3dPage extends StatelessWidget {
+ Demo3dPage({Key? key}) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ begin: Alignment.topRight,
+ end: Alignment.bottomLeft,
+ colors: [Colors.grey.shade800, Colors.grey.shade900])),
+ child: Texture(
+ textureId: 1,
+ ),
+ );
+ }
+}