Neuer Regelsatz: Platzierung #213

Merged
sneeex merged 22 commits from feature/206-Neuer-Regelsatz-Platzierung into development 2026-05-09 21:37:30 +00:00
Showing only changes of commit 496d411af6 - Show all commits

View File

@@ -229,40 +229,35 @@ class _MatchResultViewState extends State<MatchResultView> {
proxyDecorator: (child, index, animation) { proxyDecorator: (child, index, animation) {
return AnimatedBuilder( return AnimatedBuilder(
animation: animation, animation: animation,
child: child,
builder: (context, child) { builder: (context, child) {
final t = Curves.easeInOut.transform( final alpha =
(Curves.easeInOut.transform(
animation.value, animation.value,
); ) *
return Opacity( 40)
opacity: t, .toInt();
child: Material( return Stack(
color: Colors.transparent, children: [
child: Container( child!,
Positioned.fill(
left: 4,
top: 4,
right: 4,
bottom: 4,
child: DecoratedBox(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white.withAlpha(
alpha,
),
borderRadius: CustomTheme borderRadius: CustomTheme
.standardBorderRadiusAll, .standardBorderRadiusAll,
boxShadow: [
BoxShadow(
color: CustomTheme
.primaryColor
.withAlpha(30),
blurRadius: 4,
), ),
BoxShadow( ),
color: CustomTheme
.primaryColor
.withAlpha(18),
blurRadius: 12,
spreadRadius: 2,
), ),
], ],
),
child: child,
),
),
); );
}, },
child: child,
); );
}, },
onReorder: (int oldIndex, int newIndex) { onReorder: (int oldIndex, int newIndex) {