WIP #302 fix SVG size
This commit is contained in:
parent
76057e8797
commit
4099fa0c83
@ -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),
|
||||
|
@ -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';
|
||||
|
17
pubspec.lock
17
pubspec.lock
@ -49,14 +49,14 @@ packages:
|
||||
name: charts_common
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.0"
|
||||
version: "0.6.0"
|
||||
charts_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: charts_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.5.0"
|
||||
version: "0.6.0"
|
||||
collection:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -269,7 +269,7 @@ packages:
|
||||
name: sqflite
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
version: "1.1.0+1"
|
||||
stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -347,13 +347,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.9"
|
||||
webview_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: webview_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.3.3+1"
|
||||
xml:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -369,5 +362,5 @@ packages:
|
||||
source: hosted
|
||||
version: "2.1.15"
|
||||
sdks:
|
||||
dart: ">2.0.0 <3.0.0"
|
||||
flutter: ">=0.11.9 <2.0.0"
|
||||
dart: ">=2.1.0 <3.0.0"
|
||||
flutter: ">=0.7.3 <2.0.0"
|
||||
|
@ -19,7 +19,6 @@ dependencies:
|
||||
charts_flutter: any
|
||||
flutter_markdown: any
|
||||
flutter_svg: ^0.10.3
|
||||
webview_flutter: any
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
Reference in New Issue
Block a user