From 08bf271f7f1f14153a41005718a2090fa8e783f0 Mon Sep 17 00:00:00 2001 From: Felipe Erias Date: Mon, 6 Dec 2021 15:08:20 +0900 Subject: Placeholder for the 3D demo --- lib/demo_3d.dart | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/demo_3d.dart (limited to 'lib/demo_3d.dart') 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, + ), + ); + } +} -- cgit