example project fixes
This commit is contained in:
@@ -104,7 +104,9 @@ class ExampleWidgetState extends State<ExampleWidget> {
|
|||||||
builder: (_, AsyncSnapshot<bool> initialized) {
|
builder: (_, AsyncSnapshot<bool> initialized) {
|
||||||
var isInitialized = initialized.data == true;
|
var isInitialized = initialized.data == true;
|
||||||
|
|
||||||
return Stack(children: [
|
return Stack(
|
||||||
|
fit: StackFit.expand,
|
||||||
|
children: [
|
||||||
if (isInitialized)
|
if (isInitialized)
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
child: ExampleViewport(
|
child: ExampleViewport(
|
||||||
@@ -181,18 +183,19 @@ class ExampleWidgetState extends State<ExampleWidget> {
|
|||||||
Expanded(child: Container()),
|
Expanded(child: Container()),
|
||||||
]))),
|
]))),
|
||||||
if (isInitialized) ...[
|
if (isInitialized) ...[
|
||||||
EntityListWidget(controller: _plugin.viewer),
|
Positioned(top:0, height:50, left:0, right:0, child:Container(
|
||||||
Padding(
|
child:EntityListWidget(controller: _plugin.viewer))),
|
||||||
padding: const EdgeInsets.only(top: 10, left: 20, right: 20),
|
// Padding(
|
||||||
child: ValueListenableBuilder(
|
// padding: const EdgeInsets.only(top: 10, left: 20, right: 20),
|
||||||
valueListenable: showProjectionMatrices,
|
// child: ValueListenableBuilder(
|
||||||
builder: (ctx, value, child) => CameraMatrixOverlay(
|
// valueListenable: showProjectionMatrices,
|
||||||
controller: _plugin.viewer, showProjectionMatrices: value)),
|
// builder: (ctx, value, child) => CameraMatrixOverlay(
|
||||||
),
|
// controller: _plugin.viewer, showProjectionMatrices: value)),
|
||||||
Align(
|
// ),
|
||||||
alignment: Alignment.topRight,
|
// Align(
|
||||||
child: PickerResultWidget(controller: _plugin.viewer),
|
// alignment: Alignment.topRight,
|
||||||
)
|
// child: PickerResultWidget(controller: _plugin.viewer),
|
||||||
|
// )
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user