File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,17 @@ typedef CameraErrorHandler = void Function(
41
41
);
42
42
43
43
/// {@template wechat_camera_picker.ForegroundBuilder}
44
- /// Build the foreground/overlay widget with the given [cameraValue ] .
45
- /// 根据给定的 [cameraValue ] 构建自定义的前景 widget
44
+ /// Build the foreground/overlay widget with the given [CameraValue ] .
45
+ /// 根据给定的 [CameraValue ] 构建自定义的前景 widget
46
46
/// {@endtemplate}
47
47
typedef ForegroundBuilder = Widget Function (
48
48
BuildContext context,
49
49
CameraValue cameraValue,
50
50
);
51
51
52
52
/// {@template wechat_camera_picker.PreviewTransformBuilder}
53
- /// Build the transformed widget with the given [controller ] .
54
- /// 根据给定的 [controller ] 构建自定义的变换 widget
53
+ /// Build the transformed widget with the given [CameraController ] .
54
+ /// 根据给定的 [CameraController ] 构建自定义的变换 widget
55
55
/// {@endtemplate}
56
56
typedef PreviewTransformBuilder = Widget ? Function (
57
57
BuildContext context,
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ class CameraPickerState extends State<CameraPicker>
270
270
late final ThemeData _theme =
271
271
config.theme ?? CameraPicker .themeData (C .themeColor);
272
272
273
- /// Get [ThemeData] of the [CameraPicker] through [Constants.pickerKey] .
273
+ /// Get [ThemeData] of the [CameraPicker] through the key .
274
274
/// 通过常量全局 Key 获取当前选择器的主题
275
275
ThemeData get theme => _theme;
276
276
Original file line number Diff line number Diff line change 4
4
5
5
import 'package:flutter/material.dart' ;
6
6
7
- /// Build [AssetPickerPageRoute ] with the given generic type.
8
- /// 构建匹配泛型的 [AssetPickerPageRoute ]
7
+ /// Build [CameraPickerPageRoute ] with the given generic type.
8
+ /// 构建匹配泛型的 [CameraPickerPageRoute ]
9
9
typedef CameraPickerPageRouteBuilder <T > = CameraPickerPageRoute <T > Function (
10
10
Widget picker,
11
11
);
You can’t perform that action at this time.
0 commit comments