WIP #302 fix SVG size

This commit is contained in:
estevez-dev
2019-02-20 18:50:58 +02:00
parent 76057e8797
commit 4099fa0c83
4 changed files with 5 additions and 16 deletions

View File

@ -144,12 +144,10 @@ class _CameraStreamViewState extends State<CameraStreamView> {
);
} else {
if (useSVG) {
Logger.d("Camera with SVG source");
return Column(
children: <Widget>[
SvgPicture.memory(
Uint8List.fromList(binaryImage),
height: 200.0,
placeholderBuilder: (BuildContext context) =>
new Container(
padding: const EdgeInsets.all(20.0),

View File

@ -16,7 +16,6 @@ import 'package:charts_flutter/flutter.dart' as charts;
import 'package:progress_indicators/progress_indicators.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:webview_flutter/webview_flutter.dart';
part 'entity_class/const.dart';
part 'entity_class/entity.class.dart';