mirrored_repositories/FlutterTraining/lib/screen/auth
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

import '../../../util/app_color_util.dart';
import '../../../util/asset_path_util.dart';
import '../../../util/route_util.dart';
import '../../../util/style_util.dart';

class SignUpVerificationScreen extends StatelessWidget {
  const SignUpVerificationScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var appLocalizations = AppLocalizations.of(context)!;

    return Scaffold(
        backgroundColor: AppColorUtil.appBlueColor,
        appBar: AppBar(
            elevation: 0,
            automaticallyImplyLeading: false,
            backgroundColor: Colors.white,
            title: Text(appLocalizations.raw_sign_in_header,
                style: const TextStyle(color: AppColorUtil.appBlueDarkColor))),
        body: SingleChildScrollView(
            child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 20),
          child: Column(children: [
            Column(crossAxisAlignment: CrossAxisAlignment.center, children: [
              Padding(
                  padding: const EdgeInsets.symmetric(vertical: 20),
                  child:
                      Text(appLocalizations.raw_sign_up_verification_header)),
              Padding(
                  padding: const EdgeInsets.only(bottom: 30),
                  child: Image.asset(AssetPathUtil.stepTwoPath))
            ]),
            Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
              Text(appLocalizations.raw_sign_up_verification_description),
              Padding(
                  padding: const EdgeInsets.symmetric(vertical: 10),
                  child: TextButton(
                      onPressed: () => Navigator.of(context)
                          .pushNamedAndRemoveUntil(
                              RouteUtil.signIn, (route) => false),
                      child: Text(
                          appLocalizations.raw_sign_up_verification_completed,
                          style: underlineTextStyle.copyWith(
                              color: AppColorUtil.appOrangeColor)))),
              Text(appLocalizations.raw_sign_up_verification_message),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_message_bullet_1}'),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_message_bullet_2}'),
              Padding(
                  padding: const EdgeInsets.symmetric(vertical: 10),
                  child: TextButton(
                      onPressed: () {},
                      child: Text(
                          appLocalizations.raw_sign_up_verification_resend,
                          style: underlineTextStyle.copyWith(
                              color: AppColorUtil.appOrangeColor)))),
              Text(appLocalizations.raw_sign_up_verification_inquiry),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_inquiry_bullet_1}'),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_inquiry_bullet_2}'),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_inquiry_bullet_3}'),
              Text(
                  '・${appLocalizations.raw_sign_up_verification_inquiry_bullet_4}')
            ]),
            Align(
                alignment: Alignment.topLeft,
                child: Padding(
                    padding: const EdgeInsets.symmetric(vertical: 10),
                    child: Column(
                        crossAxisAlignment: CrossAxisAlignment.start,
                        children: [
                          Text(appLocalizations
                              .raw_sign_up_verification_inquiry_2),
                          Row(children: [
                            TextButton(
                                onPressed: () {},
                                child: Text(
                                    appLocalizations
                                        .raw_sign_up_verification_contact_inquiry,
                                    style: underlineTextStyle.copyWith(
                                        color: AppColorUtil.appOrangeColor))),
                            Text(appLocalizations
                                .raw_sign_up_verification_contact_us)
                          ])
                        ])))
          ]),
        )));
  }
}
