Skip to content

Commit d0f01ae

Browse files
committed
🎨 Format code using dartfmt.
1 parent cbb405a commit d0f01ae

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

example/lib/pages/single_assets_page.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ class _SingleAssetPageState extends State<SingleAssetPage> {
9393
return GestureDetector(
9494
behavior: HitTestBehavior.opaque,
9595
onTap: () async {
96-
final AssetEntity result = await CameraPicker.pickFromCamera(
96+
final AssetEntity result =
97+
await CameraPicker.pickFromCamera(
9798
context,
9899
isAllowRecording: true,
99100
);

lib/src/widget/asset_picker.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,12 @@ class AssetPicker extends StatelessWidget {
506506
width: Screens.width,
507507
height: maxHeight,
508508
decoration: BoxDecoration(
509-
borderRadius: isAppleOS ? const BorderRadius.only(
510-
bottomLeft: Radius.circular(10.0),
511-
bottomRight: Radius.circular(10.0),
512-
) : null,
509+
borderRadius: isAppleOS
510+
? const BorderRadius.only(
511+
bottomLeft: Radius.circular(10.0),
512+
bottomRight: Radius.circular(10.0),
513+
)
514+
: null,
513515
color: theme.colorScheme.background,
514516
),
515517
child: Selector<AssetPickerProvider,

0 commit comments

Comments
 (0)