37 lines
942 B
Dart
37 lines
942 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../../../common/theme/theme.dart';
|
|
|
|
class ProductEmptyCard extends StatelessWidget {
|
|
const ProductEmptyCard({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
margin: EdgeInsets.symmetric(horizontal: 16),
|
|
padding: EdgeInsets.all(24),
|
|
decoration: BoxDecoration(
|
|
color: AppColor.surface,
|
|
borderRadius: BorderRadius.circular(12),
|
|
border: Border.all(color: AppColor.borderLight),
|
|
),
|
|
child: Center(
|
|
child: Column(
|
|
children: [
|
|
Icon(
|
|
Icons.inventory_2_outlined,
|
|
size: 48,
|
|
color: AppColor.textLight,
|
|
),
|
|
SizedBox(height: 12),
|
|
Text(
|
|
"Belum ada produk",
|
|
style: AppStyle.md.copyWith(color: AppColor.textSecondary),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|