interim Android fixes
This commit is contained in:
@@ -65,7 +65,7 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
});
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
||||
Widget _item(void Function() onTap, String text) {
|
||||
return GestureDetector(
|
||||
onTap: onTap,
|
||||
@@ -264,9 +264,7 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
}, "${_frustumCulling ? "Disable" : "Enable"} frustum culling"));
|
||||
|
||||
return Stack(children: [
|
||||
Positioned(
|
||||
bottom: 100,
|
||||
height:768, width:1024,
|
||||
Positioned.fill(
|
||||
child: FilamentGestureDetector(
|
||||
showControlOverlay: true,
|
||||
controller: _filamentController,
|
||||
@@ -278,40 +276,42 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
left: 0,
|
||||
right: 0,
|
||||
height: 200,
|
||||
child: SingleChildScrollView(
|
||||
child: Wrap(children: children
|
||||
// _item(24 () async { 'rotate by pi around Y axis'),
|
||||
// _item(5 () async { 'load flight helmet'),
|
||||
child: Container(
|
||||
color: Colors.white,
|
||||
child: SingleChildScrollView(
|
||||
child: Wrap(children: children
|
||||
// _item(24 () async { 'rotate by pi around Y axis'),
|
||||
// _item(5 () async { 'load flight helmet'),
|
||||
|
||||
// _item(7 () async { 'set all weights to 1'),
|
||||
// _item(8 () async { 'set all weights to 0'),
|
||||
// _item(9 () async { 'play all animations'),
|
||||
// _item(34 () async { 'play animation 0'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(35 () async { 'play animation 1'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(36 () async { 'play animation 2'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(36 () async { 'play animation 3'),
|
||||
// _item(34 () async { 'play animation 3 (noreplace)'),
|
||||
// _item(37 () async { 'stop animation 0'),
|
||||
// _item(7 () async { 'set all weights to 1'),
|
||||
// _item(8 () async { 'set all weights to 0'),
|
||||
// _item(9 () async { 'play all animations'),
|
||||
// _item(34 () async { 'play animation 0'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(35 () async { 'play animation 1'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(36 () async { 'play animation 2'),
|
||||
// _item(34 () async { 'play animation 0 (noreplace)'),
|
||||
// _item(36 () async { 'play animation 3'),
|
||||
// _item(34 () async { 'play animation 3 (noreplace)'),
|
||||
// _item(37 () async { 'stop animation 0'),
|
||||
|
||||
// _item(14 () async { 'set camera'),
|
||||
// _item(15 () async { 'animate weights'),
|
||||
// _item(16 () async { 'get target names'),
|
||||
// _item(17 () async { 'get animation names'),
|
||||
// _item(18 () async { 'pan left'),
|
||||
// _item(19 () async { 'pan right'),
|
||||
// _item(25 () async {
|
||||
// Text(_vertical ? 'set horizontal' : 'set vertical')),
|
||||
// _item(26 () async { 'set camera pos to 0,0,3'),
|
||||
// _item(27 () async { 'toggle framerate'),
|
||||
// _item(28 () async { 'set bg image pos'),
|
||||
// _item(29 () async { 'add light'),
|
||||
// _item(30 () async { 'remove light'),
|
||||
// _item(31 () async { 'clear all lights'),
|
||||
// _item(32 () async { 'set camera model matrix'),
|
||||
))),
|
||||
// _item(14 () async { 'set camera'),
|
||||
// _item(15 () async { 'animate weights'),
|
||||
// _item(16 () async { 'get target names'),
|
||||
// _item(17 () async { 'get animation names'),
|
||||
// _item(18 () async { 'pan left'),
|
||||
// _item(19 () async { 'pan right'),
|
||||
// _item(25 () async {
|
||||
// Text(_vertical ? 'set horizontal' : 'set vertical')),
|
||||
// _item(26 () async { 'set camera pos to 0,0,3'),
|
||||
// _item(27 () async { 'toggle framerate'),
|
||||
// _item(28 () async { 'set bg image pos'),
|
||||
// _item(29 () async { 'add light'),
|
||||
// _item(30 () async { 'remove light'),
|
||||
// _item(31 () async { 'clear all lights'),
|
||||
// _item(32 () async { 'set camera model matrix'),
|
||||
)))),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user