Skip to content

Commit efe15eb

Browse files
style: fix lints
1 parent 544c9c7 commit efe15eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/form_builder_file_picker.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class _FormBuilderFilePickerState extends FormBuilderFieldDecorationState<
263263
Container(
264264
padding: const EdgeInsets.symmetric(horizontal: 2),
265265
width: double.infinity,
266-
color: Colors.white.withOpacity(.8),
266+
color: Colors.white.withValues(alpha: .8),
267267
child: Text(
268268
files[index].name,
269269
style: theme.textTheme.bodySmall,
@@ -283,7 +283,7 @@ class _FormBuilderFilePickerState extends FormBuilderFieldDecorationState<
283283
child: Container(
284284
margin: const EdgeInsets.all(3),
285285
decoration: BoxDecoration(
286-
color: Colors.grey.withOpacity(.7),
286+
color: Colors.grey.withValues(alpha: .7),
287287
shape: BoxShape.circle,
288288
),
289289
alignment: Alignment.center,

0 commit comments

Comments
 (0)