Adjusted spacing of individual request button
This commit is contained in:
parent
858b2375f9
commit
14205602d4
1 changed files with 10 additions and 6 deletions
|
|
@ -496,19 +496,23 @@ class _RequestButton extends StatelessWidget {
|
|||
child: Opacity(
|
||||
opacity: status.enabled ? 0.9 : 0.3,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: mini ? 4.0 : 8.0,
|
||||
vertical: 4.0,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(40),
|
||||
color: status.backgroundColor(context),
|
||||
),
|
||||
child: Row(
|
||||
spacing: 8.0,
|
||||
spacing: mini ? 2.0 : 8.0,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Icon(
|
||||
status.icon,
|
||||
size: !mini ? 12.0 : 8.0,
|
||||
),
|
||||
if (status.icon != null)
|
||||
Icon(
|
||||
status.icon,
|
||||
size: !mini ? 12.0 : 8.0,
|
||||
),
|
||||
Text(
|
||||
status.label(context),
|
||||
style: TextStyle(fontSize: !mini ? 12.0 : 8.0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue