import '/components/appbar_widget.dart'; import '/components/nav_bar1_widget.dart'; import '/flutterlib/flutter_theme.dart'; import '/flutterlib/flutter_util.dart'; import '/flutterlib/flutter_widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; import 'compsec_model.dart'; export 'compsec_model.dart'; class CompsecWidget extends StatefulWidget { const CompsecWidget({Key? key}) : super(key: key); @override _CompsecWidgetState createState() => _CompsecWidgetState(); } class _CompsecWidgetState extends State { late CompsecModel _model; final scaffoldKey = GlobalKey(); @override void initState() { super.initState(); _model = createModel(context, () => CompsecModel()); } @override void dispose() { _model.dispose(); super.dispose(); } @override Widget build(BuildContext context) { if (isiOS) { SystemChrome.setSystemUIOverlayStyle( SystemUiOverlayStyle( statusBarBrightness: Theme.of(context).brightness, systemStatusBarContrastEnforced: true, ), ); } context.watch(); return GestureDetector( onTap: () => _model.unfocusNode.canRequestFocus ? FocusScope.of(context).requestFocus(_model.unfocusNode) : FocusScope.of(context).unfocus(), child: Scaffold( key: scaffoldKey, backgroundColor: Color(0xFFEBEBE4), drawer: Container( width: 180.0, child: Drawer( elevation: 16.0, child: Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB(0.0, 80.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, children: [ Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('account'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB( 15.0, 8.0, 0.0, 0.0), child: Container( width: 40.0, height: 40.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, shape: BoxShape.circle, ), child: Align( alignment: AlignmentDirectional(0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/company.svg', width: 30.0, height: 30.0, fit: BoxFit.contain, ), ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 8.0, 8.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( '5lehgkkv' /* ABC Ltd */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ], ), ), ), ], ), ), Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('account1'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Group_2640.svg', width: 0.0, height: 0.0, fit: BoxFit.contain, ), ), Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 5.0, 0.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: Image.asset( 'assets/images/account.png', width: 50.0, height: 50.0, fit: BoxFit.cover, ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( 'dwtgpdte' /* Account */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ], ), ), ), Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('tnc'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/document.svg', width: 0.0, height: 0.0, fit: BoxFit.contain, ), ), Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 0.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/tnc.svg', width: 30.0, height: 30.0, fit: BoxFit.cover, ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 17.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( '6oqe7uot' /* T&C */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Group_2640.svg', width: 0.0, height: 0.0, fit: BoxFit.fitHeight, ), ), ], ), ), ), Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('policy'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Group_2640.svg', width: 0.0, height: 0.0, fit: BoxFit.contain, ), ), Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 0.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/pp.svg', width: 30.0, height: 30.0, fit: BoxFit.cover, ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( 'vk0pd3an' /* Privacy Policy */ , ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ], ), ), ), Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('language'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Group_2640.svg', width: 0.0, height: 0.0, fit: BoxFit.contain, ), ), Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 0.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/language.svg', width: 30.0, height: 30.0, fit: BoxFit.contain, ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 15.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( 'bcu14naa' /* Languages */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ], ), ), ), Container( width: 180.0, height: 61.0, decoration: BoxDecoration( color: Color(0xFF009B9A), ), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('setting'); }, child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Group_2640.svg', width: 0.0, height: 0.0, fit: BoxFit.contain, ), ), Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 0.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/setting-2.svg', width: 30.0, height: 30.0, fit: BoxFit.contain, ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 15.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context).getText( 'jqjp1dwb' /* Settings */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), ), ], ), ), ), ], ), ), ), ), appBar: PreferredSize( preferredSize: Size.fromHeight(0.0), child: AppBar( backgroundColor: Color(0xFFE7E36B), automaticallyImplyLeading: false, actions: [], centerTitle: false, elevation: 0.0, ), ), body: SafeArea( top: true, child: Stack( children: [ SingleChildScrollView( child: Column( mainAxisSize: MainAxisSize.max, children: [ Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 100.0, 0.0, 90.0), child: Column( mainAxisSize: MainAxisSize.max, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Align( alignment: AlignmentDirectional(0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 8.0), child: Text( FFLocalizations.of(context).getText( '4gtjmki0' /* Company Secretary service */, ), textAlign: TextAlign.center, style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Color(0xFF364257), fontSize: 24.0, ), ), ), ), ], ), ), Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsecQueue'); }, child: Container( width: 358.0, height: 40.0, decoration: BoxDecoration( gradient: LinearGradient( colors: [ Color(0xFF7DB979), Color(0xFF26BBAA) ], stops: [0.0, 1.0], begin: AlignmentDirectional(-1.0, 0.0), end: AlignmentDirectional(1.0, 0), ), borderRadius: BorderRadius.circular(16.0), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/document.svg', width: 56.0, height: 100.0, fit: BoxFit.none, ), ), Text( FFLocalizations.of(context).getText( '07og8usa' /* Document Queue */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), Expanded( child: Align( alignment: AlignmentDirectional(1.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Container( width: 24.0, height: 24.0, decoration: BoxDecoration( color: Color(0xFFF3CF5D), shape: BoxShape.circle, ), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Text( FFLocalizations.of( context) .getText( 'wr0gzzqu' /* 10 */, ), style: FlutterTheme.of( context) .bodyMedium, ), ], ), ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Icon( Icons.arrow_forward_ios, color: Color(0xFFF3CF5D), size: 20.0, ), ), ], ), ), ), ], ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 12.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsecServicedraft'); }, child: Container( width: 358.0, height: 40.0, decoration: BoxDecoration( gradient: LinearGradient( colors: [ Color(0xFF7DB979), Color(0xFF26BBAA) ], stops: [0.0, 1.0], begin: AlignmentDirectional(-1.0, 0.0), end: AlignmentDirectional(1.0, 0), ), borderRadius: BorderRadius.circular(16.0), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/qj5cf_e.svg', width: 56.0, height: 100.0, fit: BoxFit.none, ), ), Text( FFLocalizations.of(context).getText( 'mr5o1kgi' /* Document Draft */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), Expanded( child: Align( alignment: AlignmentDirectional( 1.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Container( width: 24.0, height: 24.0, decoration: BoxDecoration( color: Color(0xFFF3CF5D), shape: BoxShape.circle, ), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Text( FFLocalizations.of( context) .getText( '8snobg6c' /* 1 */, ), style: FlutterTheme.of( context) .bodyMedium, ), ], ), ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Icon( Icons.arrow_forward_ios, color: Color(0xFFF3CF5D), size: 20.0, ), ), ], ), ), ), ], ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 12.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsecEnq'); }, child: Container( width: 358.0, height: 40.0, decoration: BoxDecoration( gradient: LinearGradient( colors: [ Color(0xFF7DB979), Color(0xFF26BBAA) ], stops: [0.0, 1.0], begin: AlignmentDirectional(-1.0, 0.0), end: AlignmentDirectional(1.0, 0), ), borderRadius: BorderRadius.circular(16.0), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/Enquiry_History.svg', width: 56.0, height: 100.0, fit: BoxFit.none, ), ), Text( FFLocalizations.of(context).getText( 'yatcqcxn' /* Enquiry History */, ), style: FlutterTheme.of(context) .bodyMedium .override( fontFamily: 'Readex Pro', color: Colors.white, fontSize: 16.0, ), ), Expanded( child: Align( alignment: AlignmentDirectional( 1.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Container( width: 24.0, height: 24.0, decoration: BoxDecoration( color: Color(0xFFF3CF5D), shape: BoxShape.circle, ), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Text( FFLocalizations.of( context) .getText( 'f2pux07s' /* 1 */, ), style: FlutterTheme.of( context) .bodyMedium, ), ], ), ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 10.0, 0.0), child: Icon( Icons.arrow_forward_ios, color: Color(0xFFF3CF5D), size: 20.0, ), ), ], ), ), ), ], ), ), Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsec1'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/Group_2641.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'tv3zwe59' /* Incorporation of Hong Kong Lim... */ , ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: () { if (MediaQuery.sizeOf( context) .width < 428.0) { return 14.0; } else if (MediaQuery.sizeOf( context) .width >= 428.0) { return 16.0; } else { return 14.0; } }(), ), ), ), ), ], ), ], ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsec_changename'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/refresh-2.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( '6syyauz9' /* Change Company Name */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ], ), ], ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context .pushNamed('compsec_changeaddress'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/location.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'rjtilyv8' /* Change Company Address */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ], ), ], ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('compsec_resignation'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Padding( padding: EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/reserve.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'y36k8nz8' /* Resignation of Reserve Directo... */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ], ), ], ), ), ), ), ], ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context .pushNamed('compsec_changedirector'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 340.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 358.0; } else { return 340.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(14.0), topLeft: Radius.circular(14.0), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/director.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB(20.0, 0.0, 20.0, 0.0), child: Text( FFLocalizations.of( context) .getText( '4m89iblx' /* Change of Company Director (A... */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ), ], ), ], ), ), ), ], ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context .pushNamed('compsec_changesecretary'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 340.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 358.0; } else { return 340.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(14.0), topLeft: Radius.circular(14.0), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/Group-2.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB(20.0, 0.0, 20.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'eloh7bua' /* Change of Company Secretary (... */ , ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ), ], ), ], ), ), ), ], ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context .pushNamed('compsec_changesecrORdir'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 340.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 358.0; } else { return 340.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(14.0), topLeft: Radius.circular(14.0), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/document-text.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Padding( padding: EdgeInsetsDirectional .fromSTEB(20.0, 0.0, 20.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'nl4ewd71' /* Change in Particulars of Comp... */ , ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ), ], ), ], ), ), ), ], ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 10.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: EdgeInsetsDirectional.fromSTEB( 0.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed( 'compsec_transferofShares'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Padding( padding: EdgeInsetsDirectional .fromSTEB(0.0, 20.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/Icon.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'nl27u5va' /* Transfer of shares */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ], ), ], ), ), ), ), Padding( padding: EdgeInsetsDirectional.fromSTEB( 16.0, 16.0, 0.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context .pushNamed('compsec_otherRequest'); }, child: Container( width: () { if (MediaQuery.sizeOf(context).width < 428.0) { return 160.0; } else if (MediaQuery.sizeOf(context) .width >= 428.0) { return 170.0; } else { return 160.0; } }(), height: 160.0, decoration: BoxDecoration( color: FlutterTheme.of(context) .secondaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: Color(0x33000000), offset: Offset(0.0, 2.0), ) ], borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(13.7), topLeft: Radius.circular(13.7), topRight: Radius.circular(0.0), ), ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Padding( padding: EdgeInsetsDirectional .fromSTEB(0.0, 20.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular( 8.0), child: SvgPicture.asset( 'assets/images/Frame_2609120.svg', width: 117.99, height: 93.0, fit: BoxFit.none, ), ), ), ), ], ), Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Align( alignment: AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'utp481e6' /* Other Requests */, ), textAlign: TextAlign.center, style: FlutterTheme.of( context) .bodyMedium .override( fontFamily: 'Readex Pro', fontSize: 16.0, ), ), ), ), ], ), ], ), ), ), ), ], ), ), ], ), ), ), ], ), ), Align( alignment: AlignmentDirectional(0.0, 1.0), child: wrapWithModel( model: _model.navBar1Model, updateCallback: () => setState(() {}), child: NavBar1Widget(), ), ), Align( alignment: AlignmentDirectional(0.0, -1.0), child: wrapWithModel( model: _model.appbarModel, updateCallback: () => setState(() {}), child: AppbarWidget(), ), ), Align( alignment: AlignmentDirectional(1.07, -0.97), child: Padding( padding: EdgeInsetsDirectional.fromSTEB(0.0, 550.0, 30.0, 0.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { context.pushNamed('chatbox'); }, child: Container( width: 71.0, height: 71.0, decoration: BoxDecoration( gradient: LinearGradient( colors: [Color(0xFFE7E63B), Color(0xFFC6E6D7)], stops: [0.0, 1.0], begin: AlignmentDirectional(-1.0, 0.0), end: AlignmentDirectional(1.0, 0), ), shape: BoxShape.circle, ), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: SvgPicture.asset( 'assets/images/message-2.svg', width: 100.0, height: 100.0, fit: BoxFit.none, ), ), ), ), ), ), ], ), ), ), ); } }