feat: onboarding page

This commit is contained in:
efrilm
2025-08-27 15:07:49 +07:00
parent 30007415c7
commit 3c24fff82e
16 changed files with 413 additions and 18 deletions
@@ -0,0 +1,5 @@
import 'package:flutter/material.dart';
import '../../../common/theme/theme.dart';
part 'elevated_button.dart';
@@ -0,0 +1,34 @@
part of 'button.dart';
class AppElevatedButton extends StatelessWidget {
const AppElevatedButton({
super.key,
required this.onPressed,
required this.title,
this.width = double.infinity,
this.height = 48.0,
});
final Function()? onPressed;
final String title;
final double width;
final double height;
@override
Widget build(BuildContext context) {
return SizedBox(
width: width,
height: height,
child: ElevatedButton(
onPressed: onPressed,
child: Text(
title,
style: AppStyle.lg.copyWith(
color: AppColor.white,
fontWeight: FontWeight.w700,
),
),
),
);
}
}