File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ List<PickMethod> pickMethods(BuildContext context) {
182182}
183183
184184/// Define a regular pick method.
185- class PickMethod {
185+ final class PickMethod {
186186 const PickMethod ({
187187 required this .icon,
188188 required this .name,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import 'type_defs.dart';
1313/// Configurations for the [CameraPicker] .
1414/// [CameraPicker] 的配置项
1515/// {@endtemplate}
16- class CameraPickerConfig {
16+ final class CameraPickerConfig {
1717 const CameraPickerConfig ({
1818 this .enableRecording = false ,
1919 this .onlyEnableRecording = false ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import '../delegates/camera_picker_text_delegate.dart';
66
77export 'package:photo_manager/photo_manager.dart' ;
88
9- class Constants {
9+ final class Constants {
1010 const Constants ._();
1111
1212 static CameraPickerTextDelegate textDelegate =
Original file line number Diff line number Diff line change 44
55import 'package:flutter/material.dart' ;
66
7- class TweenAnimationBuilder2 <A , B > extends StatelessWidget {
7+ final class TweenAnimationBuilder2 <A , B > extends StatelessWidget {
88 const TweenAnimationBuilder2 ({
99 super .key,
1010 required this .firstTween,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import 'package:flutter/material.dart';
66
77import 'builder/tween_animation_builder_2.dart' ;
88
9- class CameraFocusPoint extends StatelessWidget {
9+ final class CameraFocusPoint extends StatelessWidget {
1010 const CameraFocusPoint ({
1111 super .key,
1212 required this .size,
@@ -41,7 +41,7 @@ class CameraFocusPoint extends StatelessWidget {
4141
4242/// A [CustomPaint] that draws the exposure point with four arcs and one circle.
4343/// 包含了四条弧及一个圆的曝光点绘制。
44- class CameraFocusPointPainter extends CustomPainter {
44+ final class CameraFocusPointPainter extends CustomPainter {
4545 const CameraFocusPointPainter ({
4646 required this .size,
4747 required this .color,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
77import '../constants/styles.dart' ;
88import '../internals/methods.dart' ;
99
10- class CameraProgressButton extends StatefulWidget {
10+ final class CameraProgressButton extends StatefulWidget {
1111 const CameraProgressButton ({
1212 super .key,
1313 required this .isAnimating,
You can’t perform that action at this time.
0 commit comments