Mjpeg constructor
const
Mjpeg(- {Client? httpClient,
- bool isLive = false,
- double? width,
- Duration timeout = const Duration(seconds: 5),
- double? height,
- BoxFit? fit,
- required String stream,
- Widget error(
- BuildContext contet,
- dynamic error,
- dynamic stack
)?,
- WidgetBuilder? loading,
- MjpegPreprocessor? preprocessor,
- Key? key}
)
Implementation
const Mjpeg({
this.httpClient,
this.isLive = false,
this.width,
this.timeout = const Duration(seconds: 5),
this.height,
this.fit,
required this.stream,
this.error,
this.loading,
this.headers = const {},
this.preprocessor,
Key? key,
}) : super(key: key);