example project fixes
This commit is contained in:
@@ -173,7 +173,7 @@ class _AssetSubmenuState extends State<AssetSubmenu> {
|
|||||||
ExampleWidgetState.buster = null;
|
ExampleWidgetState.buster = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(ExampleWidgetState.shapes == null
|
child: Text(ExampleWidgetState.buster == null
|
||||||
? 'Load buster'
|
? 'Load buster'
|
||||||
: 'Remove buster')),
|
: 'Remove buster')),
|
||||||
MenuItemButton(
|
MenuItemButton(
|
||||||
@@ -189,7 +189,7 @@ class _AssetSubmenuState extends State<AssetSubmenu> {
|
|||||||
ExampleWidgetState.flightHelmet = null;
|
ExampleWidgetState.flightHelmet = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(ExampleWidgetState.shapes == null
|
child: Text(ExampleWidgetState.flightHelmet == null
|
||||||
? 'Load flight helmet'
|
? 'Load flight helmet'
|
||||||
: 'Remove flight helmet')),
|
: 'Remove flight helmet')),
|
||||||
MenuItemButton(
|
MenuItemButton(
|
||||||
|
|||||||
@@ -88,12 +88,7 @@ class _CameraSubmenuState extends State<CameraSubmenu> {
|
|||||||
height: 300,
|
height: 300,
|
||||||
width: 300,
|
width: 300,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
child: Column(
|
child: Text(frustum.toString())));
|
||||||
children: frustum
|
|
||||||
.map((vector) => Text(vector.storage
|
|
||||||
.map((v) => v.toStringAsFixed(2))
|
|
||||||
.join(",")))
|
|
||||||
.toList())));
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
child: const Text("Get frustum")),
|
child: const Text("Get frustum")),
|
||||||
|
|||||||
Reference in New Issue
Block a user