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