55 lines
1.6 KiB
Dart
55 lines
1.6 KiB
Dart
import 'package:e_porter/_core/component/button/button_fill.dart';
|
|
import 'package:e_porter/_core/component/button/button_outline.dart';
|
|
import 'package:e_porter/_core/constants/colors.dart';
|
|
import 'package:e_porter/routes/app_rountes.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:zoom_tap_animation/zoom_tap_animation.dart';
|
|
|
|
class OnboardingScreen extends StatelessWidget {
|
|
const OnboardingScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: Colors.white,
|
|
body: SafeArea(
|
|
child: Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 16.h),
|
|
child: Column(
|
|
children: [],
|
|
),
|
|
),
|
|
),
|
|
bottomNavigationBar: Padding(
|
|
padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 16.h),
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
ZoomTapAnimation(
|
|
child: ButtonFill(
|
|
text: 'Masuk sebagai Penumpang',
|
|
textColor: Colors.white,
|
|
onTap: () {
|
|
Get.toNamed(Routes.LOGIN);
|
|
},
|
|
),
|
|
),
|
|
SizedBox(
|
|
height: 10.h,
|
|
),
|
|
ZoomTapAnimation(
|
|
child: ButtonOutline(
|
|
text: 'Masuk sebagai Porter',
|
|
textColor: PrimaryColors.primary800,
|
|
onTap: () {},
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|