From bf931cb209b6fb32eb6ee03063ede7c136053802 Mon Sep 17 00:00:00 2001 From: Quanhua Guan Date: Mon, 22 Mar 2021 11:24:38 +0800 Subject: [PATCH 1/2] Fix: typo --- src/chapter12/texture_platformview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chapter12/texture_platformview.md b/src/chapter12/texture_platformview.md index 0c342223..6dcbd066 100644 --- a/src/chapter12/texture_platformview.md +++ b/src/chapter12/texture_platformview.md @@ -29,7 +29,7 @@ const Texture({ 下面我们看一下camera包自带的一个示例,它包含如下功能: -1. 可以拍照,也可以拍视频,拍摄完成后可以保存;排号的视频可以播放预览。 +1. 可以拍照,也可以拍视频,拍摄完成后可以保存;拍好的视频可以播放预览。 2. 可以切换摄像头(前置摄像头、后置摄像头、其它) 3. 可以显示已经拍摄内容的预览图。 @@ -515,4 +515,4 @@ const Texture({ 注意,使用PlatformView的开销是非常大的,因此,如果一个原生组件用Flutter实现的难度不大时,我们应该首选Flutter实现。 -另外,PlatformView的相关功能在作者写作时还处于预览阶段,可能还会发生变化,因此,读者如果需要在项目中使用的话,应查看一下最新的文档。 \ No newline at end of file +另外,PlatformView的相关功能在作者写作时还处于预览阶段,可能还会发生变化,因此,读者如果需要在项目中使用的话,应查看一下最新的文档。 From 02f1f3d373a8c5f2c74a011e270d6b30529d26d1 Mon Sep 17 00:00:00 2001 From: Quanhua Guan Date: Mon, 22 Mar 2021 14:21:11 +0800 Subject: [PATCH 2/2] fix: typo --- src/chapter12/texture_platformview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chapter12/texture_platformview.md b/src/chapter12/texture_platformview.md index 6dcbd066..3f3ba772 100644 --- a/src/chapter12/texture_platformview.md +++ b/src/chapter12/texture_platformview.md @@ -56,7 +56,7 @@ const Texture({ 3. 构建UI。现在我们构建如图12-4的测试界面: ![12-4](../imgs/12-4.jpg) - 线面是完整的代码: + 下面是完整的代码: ```dart import 'package:camera/camera.dart';