Files

23 lines
548 B
Dart
Raw Permalink Normal View History

2026-07-14 11:11:36 +08:00
import 'package:flutter/material.dart';
import '../theme/app_theme.dart';
class WarmGradientBackground extends StatelessWidget {
const WarmGradientBackground({super.key});
@override
Widget build(BuildContext context) {
final colors = context.appTokens.warmGradientColors;
return DecoratedBox(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: colors,
),
),
child: const SizedBox.expand(),
);
}
}