mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-02-04 07:52:55 +00:00
- Removed Bengali pattern background image and references. - Added subtle gradient background to Getting Started page. - Enhanced BlurCard with shadow and softer border radius. - Adjusted spacing and logo size in Greeting section for better balance.
36 lines
944 B
Dart
36 lines
944 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
|
|
class BlurCard extends HookConsumerWidget {
|
|
final Widget child;
|
|
const BlurCard({super.key, required this.child});
|
|
|
|
@override
|
|
Widget build(BuildContext context, ref) {
|
|
return Container(
|
|
margin: const EdgeInsets.all(16.0),
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(24),
|
|
boxShadow: [
|
|
BoxShadow(
|
|
color: Colors.black.withOpacity(0.1),
|
|
blurRadius: 20,
|
|
offset: const Offset(0, 10),
|
|
),
|
|
],
|
|
),
|
|
constraints: const BoxConstraints(maxWidth: 400),
|
|
clipBehavior: Clip.antiAlias,
|
|
child: SizedBox(
|
|
width: double.infinity,
|
|
child: SurfaceCard(
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(24.0),
|
|
child: child,
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|