show<T> static method
- BuildContext context, {
- void onChanged()?,
- String? camera,
Displays a CameraSwitchView wrapped in a ModalPopup.
Implementation
static Future<T?> show<T>(
BuildContext context, {
void Function(DeviceDetails)? onChanged,
String? camera,
}) {
return ModalPopup.show(
context: context,
child: CameraSwitchView(onChanged: onChanged, camera: camera),
);
}