import 'package:diplomaticquarterapp/config/size_config.dart'; import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart'; import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:diplomaticquarterapp/routes.dart'; class ConfirmLogin extends StatelessWidget { static int loginType = 0; @override Widget build(BuildContext context) { return AppScaffold( appBarTitle: TranslationBase.of(context).welcome, isShowAppBar: true, body: Padding( padding: EdgeInsets.all(20), child: Column( children: [ Expanded( flex: 4, child: Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, crossAxisAlignment: CrossAxisAlignment.start, children: [ Image.asset( 'assets/images/habib-logo.png', height: 80, width: 80, ), AppText( TranslationBase.of(context).verifyLoginWith, fontSize: SizeConfig.textMultiplier * 3.5, textAlign: TextAlign.left, ), Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Expanded( child: InkWell( onTap: () => {}, child: RoundedContainer( borderColor: Colors.grey, showBorder: true, child: Padding( padding: EdgeInsets.fromLTRB( 20, 10, 20, 10), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Image.asset( 'assets/images/id_card_icon.png', height: SizeConfig .imageSizeMultiplier * 12, width: SizeConfig .imageSizeMultiplier * 15, ), SizedBox( height: 20, ), AppText( TranslationBase.of(context) .nationalID, fontSize: SizeConfig.textMultiplier * 2, ) ], ), )))), Expanded( child: InkWell( onTap: () => {}, child: RoundedContainer( borderColor: Colors.grey, showBorder: true, child: Padding( padding: EdgeInsets.fromLTRB( 25, 10, 25, 10), child: Column( children: [ Image.asset( 'assets/images/my_file_white_icon.png', height: SizeConfig .imageSizeMultiplier * 12, width: SizeConfig .imageSizeMultiplier * 15, ), SizedBox( height: 20, ), AppText( TranslationBase.of(context) .fileNo, fontSize: SizeConfig.textMultiplier * 2, ) ], ), )))) ], ), Divider( color: Colors.grey, height: 2, ), Center( child: InkWell( onTap: () => {}, child: AppText( TranslationBase.of(context).forgotPassword, fontSize: SizeConfig.textMultiplier * 3, margin: 10, underline: true))) ]), ), Expanded( flex: 2, child: Column( mainAxisAlignment: MainAxisAlignment.end, children: [ Row( children: [ Expanded( child: RaisedButton( color: Colors.grey, textColor: Colors.white, child: Text(TranslationBase.of(context).registerNow), onPressed: () => { Navigator.of(context).pushNamed( REGISTER, ) }, )) ], ), ], )) ], ))); } }