diff options
Diffstat (limited to 'lib/demo_3d.dart')
-rw-r--r-- | lib/demo_3d.dart | 20 |
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, + ), + ); + } +} |