|
|
@ -68,25 +68,28 @@ class _ScoreViewDecoration extends StatelessWidget {
|
|
|
|
const radius = BorderRadius.all(Radius.circular(12));
|
|
|
|
const radius = BorderRadius.all(Radius.circular(12));
|
|
|
|
const borderWidth = 5.0;
|
|
|
|
const borderWidth = 5.0;
|
|
|
|
|
|
|
|
|
|
|
|
return DecoratedBox(
|
|
|
|
return Opacity(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
opacity: 0.7,
|
|
|
|
borderRadius: radius,
|
|
|
|
child: DecoratedBox(
|
|
|
|
border: Border.all(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: PinballColors.white,
|
|
|
|
borderRadius: radius,
|
|
|
|
width: borderWidth,
|
|
|
|
border: Border.all(
|
|
|
|
),
|
|
|
|
color: PinballColors.white,
|
|
|
|
image: DecorationImage(
|
|
|
|
width: borderWidth,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
),
|
|
|
|
image: AssetImage(
|
|
|
|
image: DecorationImage(
|
|
|
|
Assets.images.score.miniScoreBackground.path,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
|
|
|
image: AssetImage(
|
|
|
|
|
|
|
|
Assets.images.score.miniScoreBackground.path,
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.all(borderWidth - 1),
|
|
|
|
padding: const EdgeInsets.all(borderWidth - 1),
|
|
|
|
child: ClipRRect(
|
|
|
|
child: ClipRRect(
|
|
|
|
borderRadius: radius,
|
|
|
|
borderRadius: radius,
|
|
|
|
child: child,
|
|
|
|
child: child,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|