diff --git a/thermion_flutter/thermion_flutter/lib/src/widgets/src/camera/camera_options_widget.dart b/thermion_flutter/thermion_flutter/lib/src/widgets/src/camera/camera_options_widget.dart index 249786bc..3b07ef6c 100644 --- a/thermion_flutter/thermion_flutter/lib/src/widgets/src/camera/camera_options_widget.dart +++ b/thermion_flutter/thermion_flutter/lib/src/widgets/src/camera/camera_options_widget.dart @@ -2,8 +2,6 @@ import 'package:thermion_dart/thermion_dart.dart'; import 'package:flutter/material.dart'; import '../../../utils/camera_orientation.dart'; -import 'dart:math'; - class CameraOptionsWidget extends StatefulWidget { final Camera camera; final CameraOrientation cameraOrientation; @@ -59,9 +57,6 @@ class _CameraOptionsWidgetState extends State { setState(() {}); } - double _bloom = 0.0; - - double _focalLength = 26.0; @override Widget build(BuildContext context) { return Theme( diff --git a/thermion_flutter/thermion_flutter/lib/src/widgets/src/viewer_widget.dart b/thermion_flutter/thermion_flutter/lib/src/widgets/src/viewer_widget.dart index 465d1a31..8279347b 100644 --- a/thermion_flutter/thermion_flutter/lib/src/widgets/src/viewer_widget.dart +++ b/thermion_flutter/thermion_flutter/lib/src/widgets/src/viewer_widget.dart @@ -140,13 +140,13 @@ class _ViewerWidgetState extends State { viewport = thermionWidget; case ManipulatorType.ORBIT: viewport = ThermionListenerWidget( - key: ObjectKey(ManipulatorType.ORBIT), + key: const ObjectKey(ManipulatorType.ORBIT), inputHandler: DelegateInputHandler.fixedOrbit(viewer!, minimumDistance: widget.initialCameraPosition.length), child: thermionWidget); case ManipulatorType.FREE_FLIGHT: viewport = ThermionListenerWidget( - key: ObjectKey(ManipulatorType.FREE_FLIGHT), + key: const ObjectKey(ManipulatorType.FREE_FLIGHT), inputHandler: DelegateInputHandler.flight(viewer!), child: thermionWidget); }