first commit

This commit is contained in:
Lucas Saburido
2026-05-13 16:26:45 +01:00
commit cabf2025cd
252 changed files with 13524 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import 'package:flutter/material.dart';
import '../theme/app_colors.dart';
class RiotzCard extends StatelessWidget {
const RiotzCard({
required this.child,
this.padding,
this.onTap,
this.isAccent = false,
super.key,
});
final Widget child;
final EdgeInsetsGeometry? padding;
final VoidCallback? onTap;
final bool isAccent;
@override
Widget build(BuildContext context) {
return InkWell(
onTap: onTap,
child: Container(
padding: padding ?? const EdgeInsets.all(16),
decoration: BoxDecoration(
color: AppColors.surface,
border: Border.all(
color: isAccent ? AppColors.neonRed : AppColors.border,
width: isAccent ? 2 : 1,
),
),
child: child,
),
);
}
}