Merge pull request #3101 from pangeachat/level-bar-alignment
Level bar alignment
This commit is contained in:
commit
e2f65db148
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