Applies padding on gold bar to background bar to keep it from sticking out
This commit is contained in:
parent
c1fad2c05e
commit
0a29e8b448
1 changed files with 10 additions and 7 deletions
|
|
@ -13,14 +13,17 @@ class ProgressBarBackground extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: details.height,
|
||||
width: details.totalWidth,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(AppConfig.borderRadius),
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 2),
|
||||
child: Container(
|
||||
height: details.height,
|
||||
width: details.totalWidth,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(AppConfig.borderRadius),
|
||||
),
|
||||
color: details.borderColor.withAlpha(50),
|
||||
),
|
||||
color: details.borderColor.withAlpha(50),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue