CameraThumb constructor
const
CameraThumb({
- Key? key,
- required ValueListenable<
XCameraController?> controller, - Widget? child,
- Color? color,
Creates the preview; color defaults to black.
Implementation
const CameraThumb({
super.key,
required this.controller,
this.child,
Color? color,
}) : color = color ?? const Color(0xFF000000);