change bottom padding of BottomActionWidget with context

This commit is contained in:
ashilkn 2022-12-05 20:49:18 +05:30
parent 171ecb8805
commit 48a5bfae23

View file

@ -38,13 +38,9 @@ class BottomActionBarWidget extends StatelessWidget {
filter: ImageFilter.blur(sigmaX: blurBase, sigmaY: blurBase),
child: Container(
color: colorScheme.backdropBase,
padding: const EdgeInsets.only(
padding: EdgeInsets.only(
top: 4,
// bottom: !_expandableController.expanded &&
// ((widget.selectedFiles?.files.isNotEmpty) ?? false)
// ? 24
// : 36,
bottom: 24,
bottom: (selectedFiles?.files.isNotEmpty) ?? false ? 24 : 36,
),
child: Column(
mainAxisSize: MainAxisSize.min,