mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 13:38:13 -08:00
fix: Improve strange padding
This commit is contained in:
parent
188f947ad7
commit
09109d8742
1 changed files with 11 additions and 12 deletions
|
|
@ -39,15 +39,14 @@ Future<void> showBottomSheetPill({
|
|||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
if (AdaptiveLayout.inputDeviceOf(context) == InputDevice.touch)
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 16),
|
||||
child: Container(
|
||||
height: 8,
|
||||
width: 35,
|
||||
decoration: BoxDecoration(
|
||||
color: AdaptiveLayout.inputDeviceOf(context) == InputDevice.touch
|
||||
? Theme.of(context).colorScheme.onSurface
|
||||
: Colors.transparent,
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
borderRadius: FladderTheme.largeShape.borderRadius,
|
||||
),
|
||||
),
|
||||
|
|
@ -59,7 +58,7 @@ Future<void> showBottomSheetPill({
|
|||
children: [
|
||||
if (item != null) ...{
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12).copyWith(top: 8),
|
||||
child: ItemBottomSheetPreview(item: item),
|
||||
),
|
||||
const Divider(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue