TorchToggle constructor
const
TorchToggle({
- Key? key,
- required CameraController cameraController,
- Alignment alignment = Alignment.bottomCenter,
- EdgeInsetsGeometry margin = const EdgeInsets.all(32),
Implementation
const TorchToggle({
Key? key,
required this.cameraController,
this.alignment = Alignment.bottomCenter,
this.margin = const EdgeInsets.all(32),
}) : super(key: key);