Skip to content

Commit

Permalink
feat(utils): Update image bottom sheet style
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Sep 3, 2024
1 parent a7a4a08 commit 28bb5c0
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions lib/utils/show_bottom_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,22 @@ Future<void> showImageActionBottomSheet({
),
body: Column(
children: [
ConstrainedBox(
constraints: const BoxConstraints(maxHeight: 200),
child: Card(
color: Theme.of(context).colorScheme.surfaceContainer,
child: Padding(
padding: edgeInsetsL16T16R16B16,
child: NetworkIndicatorImage(imageUrl),
Row(
children: [
Expanded(
child: ColoredBox(
color: Theme.of(context).colorScheme.surfaceContainerLow,
child: ConstrainedBox(
constraints: const BoxConstraints(maxHeight: 100),
child: Padding(
padding: edgeInsetsT4B4,
child: NetworkIndicatorImage(imageUrl),
),
),
),
),
),
],
),
sizedBoxW12H12,
Expanded(
child: SingleChildScrollView(
child: Column(
Expand Down

0 comments on commit 28bb5c0

Please sign in to comment.