feat : error widget and error json

This commit is contained in:
2025-07-02 08:56:50 +03:30
parent d49bbf1e93
commit 2cfb158d96
2 changed files with 23 additions and 14879 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,22 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
class ErrorWidget extends StatelessWidget {
const ErrorWidget({super.key});
@override
Widget build(BuildContext context) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Row(),
Assets.anim.error.lottie(width: 160.w, height: 160.h),
Text(
'مشکلی پیش آمده\nدوباره تلاش کنید..',
style: AppFonts.yekan20.copyWith(color: AppColor.textColor),
),
],
);
}
}