ViewState class
Constructors
Properties
- abort ↔ bool
-
getter/setter pair
- cameras ↔ List
-
getter/setter pair
- canvas ↔ CanvasElement
-
getter/setter pair
- canvas2 ↔ CanvasElement
-
getter/setter pair
- detectedFrame ↔ num
-
getter/setter pair
- detectInImage ↔ bool
-
getter/setter pair
- detectionTimer ↔ Timer?
-
getter/setter pair
-
devices
↔ Map<
String, String> -
getter/setter pair
- doneonce ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- lastFrame ↔ num
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedCamera ↔ int
-
getter/setter pair
- stream ↔ MediaStream?
-
getter/setter pair
- tolerance ↔ int
-
getter/setter pair
- video ↔ VideoElement
-
getter/setter pair
- videoWidget ↔ Widget?
-
getter/setter pair
Methods
-
build(
BuildContext context) → Widget -
calculateSize(
Map< String, int> srcSize, Map<String, int> dstSize) → Map<String, dynamic> -
dispose(
) → void -
initState(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
dynamic error) → dynamic -
onModelChange(
WidgetModel model, {String? property, dynamic value}) → dynamic -
Callback to fire the
_ViewState.buildwhen the CameraModel changes -
onSnapshot(
List< int> bytes, int width, int height, UriData uri) → Future<void> -
onStream(
List< int> bytes, int width, int height) → void -
pause(
) → Future -
performDetection(
) → void -
play(
) → Future -
renderFrame(
num epoch) → void -
snapshot(
) → Future -
start(
) → Future -
stop(
) → Future -
toggleCamera(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited