CameraViewState class
Constructors
Properties
- backgroundStream ↔ StreamView?
-
getter/setter pair
-
cameras
↔ List<
CameraDescription> ? -
getter/setter pair
- controller ↔ CameraController?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
getter/setter pair
-
overlays
↔ List<
OverlayEntry> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
-
getter/setter pair
Methods
-
build(
BuildContext context) → Widget -
didChangeAppLifecycleState(
AppLifecycleState state) → void -
dispose(
) → void -
initState(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onModelChange(
WidgetModel model, {String? property, dynamic value}) → dynamic - Callback to fire the CameraViewState.build when the CameraModel changes
-
onSnapshot(
XFile image) → Future< bool> -
onStream(
CameraImage image, CameraDescription camera) → void -
onViewFinderTap(
TapDownDetails details, BoxConstraints constraints) → void -
reconfigureCameras(
) → void -
snapshot(
) → Future< bool> -
start(
) → Future< bool> -
stop(
) → Future< bool> -
toggleCamera(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited