40 lines
1.1 KiB
Dart
40 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
import 'package:gap/gap.dart';
|
|
import 'package:tanami_app/core/styles/app_color.dart';
|
|
import 'package:tanami_app/core/styles/app_images.dart';
|
|
import 'package:tanami_app/core/styles/app_text.dart';
|
|
import 'package:tanami_app/shared/components/text_widget.dart';
|
|
|
|
class TopSection extends StatelessWidget {
|
|
const TopSection({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
const Gap(85),
|
|
Center(
|
|
child: SvgPicture.asset(
|
|
AppImages.weclomeLogo,
|
|
),
|
|
),
|
|
const Gap(60),
|
|
TextWidget().tex20W700(
|
|
AppText.welcomeText,
|
|
clr: AppColor.charcoalColor,
|
|
),
|
|
const Gap(10),
|
|
Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 75),
|
|
child: TextWidget().tex14W500(
|
|
AppText.pleaseEnterLoginDetails,
|
|
clr: AppColor.smokeGrayColor,
|
|
),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|