second commit

This commit is contained in:
Anbarasu
2026-05-27 10:35:09 +05:30
parent c53794c04c
commit 1435ac47b0
501 changed files with 52818 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:lottie/lottie.dart';
import '../../Globalwidgets/textwidget.dart';
import '../../Helper/Constants/Colorconstants.dart';
import '../Home/Homeview.dart';
class AccountCreatedScreen extends StatelessWidget {
const AccountCreatedScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Center(
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Lottie.asset(
'assets/success.json',
width: 200,
height: 200,
repeat: false,
),
const SizedBox(height: 30),
const TextWidget(
text: "Account Created Successfully!",
fontSize: 22,
fontWeight: FontWeight.w700,
textAlign: TextAlign.center,
),
const SizedBox(height: 20),
const TextWidget(
text: "You can now start using the app.",
fontSize: 16,
textAlign: TextAlign.center,
),
const SizedBox(height: 40),
ElevatedButton(
onPressed: () {
Get.off(() => HomeView(
key: UniqueKey(),
selectedIndex: 0,
));
},
style: ElevatedButton.styleFrom(
padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 12),
backgroundColor: ColorConstants.primaryColor,
),
child: const Text(
"Continue",
style: TextStyle(fontSize: 16),
),
)
],
),
),
),
);
}
}