Skip to content

Commit ffbff94

Browse files
committed
Used the built-in constant EdgeInsets.zero.
1 parent 658597e commit ffbff94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/fields/form_builder_image_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class FormBuilderImagePicker extends FormBuilderField<List<dynamic>> {
6767
this.galleryIcon = const Icon(Icons.image),
6868
this.cameraLabel = const Text('Camera'),
6969
this.galleryLabel = const Text('Gallery'),
70-
this.bottomSheetPadding = const EdgeInsets.all(0),
70+
this.bottomSheetPadding = EdgeInsets.zero,
7171
this.placeholderImage,
7272
}) : assert(maxImages == null || maxImages >= 0),
7373
super(

lib/src/fields/form_builder_location_field.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class FormBuilderLocationField extends FormBuilderField<CameraPosition> {
196196
this.tiltGesturesEnabled = true,
197197
this.myLocationEnabled = false,
198198
this.myLocationButtonEnabled = true,
199-
this.padding = const EdgeInsets.all(0),
199+
this.padding = EdgeInsets.zero,
200200
this.indoorViewEnabled = false,
201201
this.trafficEnabled = false,
202202
this.buildingsEnabled = true,

0 commit comments

Comments
 (0)