import '/flutter_flow/flutter_flow_icon_button.dart'; import '/flutter_flow/flutter_flow_theme.dart'; import '/flutter_flow/flutter_flow_util.dart'; import '/flutter_flow/flutter_flow_widgets.dart'; import '/modals/bottom_arrow_linked_locals_component/bottom_arrow_linked_locals_component_widget.dart'; import '/flutter_flow/custom_functions.dart' as functions; import 'package:flutter/material.dart'; import 'package:flutter/scheduler.dart'; import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:provider/provider.dart'; import 'home_page_model.dart'; export 'home_page_model.dart'; class HomePageWidget extends StatefulWidget { const HomePageWidget({super.key}); @override State createState() => _HomePageWidgetState(); } class _HomePageWidgetState extends State { late HomePageModel _model; final scaffoldKey = GlobalKey(); @override void initState() { super.initState(); _model = createModel(context, () => HomePageModel()); // On page load action. SchedulerBinding.instance.addPostFrameCallback((_) async { if (FFAppState().cliUUID == '') { showModalBottomSheet( isScrollControlled: true, backgroundColor: Colors.transparent, enableDrag: false, context: context, builder: (context) { return GestureDetector( onTap: () => _model.unfocusNode.canRequestFocus ? FocusScope.of(context).requestFocus(_model.unfocusNode) : FocusScope.of(context).unfocus(), child: Padding( padding: MediaQuery.viewInsetsOf(context), child: const BottomArrowLinkedLocalsComponentWidget(), ), ); }, ).then((value) => safeSetState(() {})); } else { return; } }); _model.textController ??= TextEditingController(); _model.textFieldFocusNode ??= FocusNode(); } @override void dispose() { _model.dispose(); super.dispose(); } @override Widget build(BuildContext context) { context.watch(); return GestureDetector( onTap: () => _model.unfocusNode.canRequestFocus ? FocusScope.of(context).requestFocus(_model.unfocusNode) : FocusScope.of(context).unfocus(), child: Scaffold( key: scaffoldKey, backgroundColor: FlutterFlowTheme.of(context).secondaryBackground, drawer: SizedBox( width: 750.0, child: Drawer( elevation: 16.0, child: Container( decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.rectangle, ), child: Column( mainAxisSize: MainAxisSize.max, crossAxisAlignment: CrossAxisAlignment.center, children: [ Container( decoration: const BoxDecoration( borderRadius: BorderRadius.only( bottomLeft: Radius.circular(5.0), bottomRight: Radius.circular(5.0), topLeft: Radius.circular(0.0), topRight: Radius.circular(0.0), ), shape: BoxShape.rectangle, ), child: Column( mainAxisSize: MainAxisSize.max, children: [ Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.start, children: [ Flexible( child: Container( width: double.infinity, decoration: const BoxDecoration(), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.start, children: [ Container( width: 50.0, height: 50.0, clipBehavior: Clip.antiAlias, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Image.network( valueOrDefault( 'https://freaccess.com.br/freaccess/Images/Clients/${FFAppState().cliUUID}.png', 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg', ), fit: BoxFit.cover, ), ), Flexible( child: Row( mainAxisSize: MainAxisSize.max, children: [ Container( decoration: const BoxDecoration(), child: Text( FFLocalizations.of(context) .getText( 'lyiat6s2' /* NOME DO MORADOR */, ), style: FlutterFlowTheme.of( context) .bodyLarge .override( fontFamily: 'Nunito Sans', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.normal, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito Sans'), ), ), ), ].divide(const SizedBox(width: 20.0)), ), ), ] .divide(const SizedBox(width: 10.0)) .addToStart(const SizedBox(width: 20.0)), ), ), ), Expanded( child: Container( height: 30.0, decoration: const BoxDecoration(), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.end, children: [ Flexible( child: FlutterFlowIconButton( borderRadius: 100.0, borderWidth: 1.0, buttonSize: 40.0, icon: Icon( Icons.close_sharp, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), onPressed: () async { if (scaffoldKey .currentState!.isDrawerOpen || scaffoldKey.currentState! .isEndDrawerOpen) { Navigator.pop(context); } }, ), ), ], ), ), ), ] .divide(const SizedBox(width: 0.0)) .around(const SizedBox(width: 0.0)), ), ].addToStart(const SizedBox(height: 30.0)), ), ), Padding( padding: const EdgeInsetsDirectional.fromSTEB(0.0, 10.0, 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.start, children: [ Flexible( child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 8.0, 0.0), child: TextFormField( controller: _model.textController, focusNode: _model.textFieldFocusNode, autofocus: false, obscureText: false, decoration: InputDecoration( isDense: true, labelStyle: FlutterFlowTheme.of(context) .labelMedium .override( fontFamily: FlutterFlowTheme.of(context) .labelMediumFamily, color: FlutterFlowTheme.of(context) .primaryText, letterSpacing: 0.0, useGoogleFonts: GoogleFonts.asMap() .containsKey( FlutterFlowTheme.of(context) .labelMediumFamily), ), alignLabelWithHint: false, hintStyle: FlutterFlowTheme.of(context) .labelMedium .override( fontFamily: FlutterFlowTheme.of(context) .labelMediumFamily, letterSpacing: 0.0, useGoogleFonts: GoogleFonts.asMap() .containsKey( FlutterFlowTheme.of(context) .labelMediumFamily), ), enabledBorder: UnderlineInputBorder( borderSide: BorderSide( color: FlutterFlowTheme.of(context) .customColor1, width: 0.5, ), borderRadius: BorderRadius.circular(2.0), ), focusedBorder: UnderlineInputBorder( borderSide: BorderSide( color: FlutterFlowTheme.of(context).primary, width: 0.5, ), borderRadius: BorderRadius.circular(2.0), ), errorBorder: UnderlineInputBorder( borderSide: BorderSide( color: FlutterFlowTheme.of(context).error, width: 0.5, ), borderRadius: BorderRadius.circular(2.0), ), focusedErrorBorder: UnderlineInputBorder( borderSide: BorderSide( color: FlutterFlowTheme.of(context).error, width: 0.5, ), borderRadius: BorderRadius.circular(2.0), ), prefixIcon: const Icon( Icons.search_sharp, ), ), style: FlutterFlowTheme.of(context) .bodyMedium .override( fontFamily: FlutterFlowTheme.of(context) .bodyMediumFamily, letterSpacing: 0.0, useGoogleFonts: GoogleFonts.asMap() .containsKey( FlutterFlowTheme.of(context) .bodyMediumFamily), ), validator: _model.textControllerValidator .asValidator(context), ), ), ), ] .addToStart(const SizedBox(width: 30.0)) .addToEnd(const SizedBox(width: 30.0)), ), ), Flexible( child: Container( width: double.infinity, height: double.infinity, decoration: const BoxDecoration(), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 10.0, 20.0, 10.0, 0.0), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Column( mainAxisSize: MainAxisSize.max, children: [ Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kfast, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'dlaeicxd' /* Auto-Visita */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.khome, color: FlutterFlowTheme.of(context) .primary, size: 24.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( '53jd930v' /* Condominio */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kpets, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'ptsx0rln' /* Cadastrar Pet */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kvector1, color: FlutterFlowTheme.of(context) .primary, size: 22.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'rgxgw626' /* Cadastrar Visitante */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kvector2, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'j2tn9lpw' /* QR Code de Acesso */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kvector3, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( '9weuwgs1' /* Histórico de Acesso */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 1.0), child: Container( width: double.infinity, decoration: BoxDecoration( borderRadius: BorderRadius.circular(24.0), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( width: 40.0, height: 40.0, decoration: const BoxDecoration( shape: BoxShape.circle, ), child: Icon( FFIcons.kvector1, color: FlutterFlowTheme.of(context) .primary, size: 20.0, ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'vuk5bjau' /* Agendar Visita */, ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 15.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey( 'Nunito'), ), ), ), ), Icon( Icons.chevron_right_rounded, color: FlutterFlowTheme.of(context) .customColor1, size: 24.0, ), ], ), ), ), ), Divider( thickness: 0.1, color: FlutterFlowTheme.of(context).customColor1, ), ], ), ], ), ), ), ), FFButtonWidget( onPressed: () async { FFAppState().isLogged = false; setState(() {}); context.goNamed( 'welcomePage', extra: { kTransitionInfoKey: const TransitionInfo( hasTransition: true, transitionType: PageTransitionType.scale, alignment: Alignment.bottomCenter, ), }, ); }, text: FFLocalizations.of(context).getText( 'xx0db4wi' /* Sair */, ), options: FFButtonOptions( height: 40.0, padding: const EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0), iconPadding: const EdgeInsetsDirectional.fromSTEB(0.0, 0.0, 0.0, 0.0), color: const Color(0x00D70000), textStyle: FlutterFlowTheme.of(context).labelMedium.override( fontFamily: 'Plus Jakarta Sans', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey('Plus Jakarta Sans'), ), elevation: 0.0, borderSide: const BorderSide( width: 0.0, ), borderRadius: BorderRadius.circular(50.0), ), ), ].addToEnd(const SizedBox(height: 64.0)), ), ), ), ), body: Container( decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, ), child: SingleChildScrollView( child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [ Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: [ Row( mainAxisSize: MainAxisSize.max, children: [ Expanded( child: Container( width: 100.0, height: 100.0, decoration: const BoxDecoration( color: Color(0xFF1AAB5F), ), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Align( alignment: const AlignmentDirectional(0.0, 1.0), child: Container( height: 50.0, decoration: const BoxDecoration(), child: Align( alignment: const AlignmentDirectional(0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, children: [ Align( alignment: const AlignmentDirectional(-1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 10.0, 0.0, 0.0, 0.0), child: FlutterFlowIconButton( borderRadius: 20.0, borderWidth: 1.0, buttonSize: 40.0, fillColor: FlutterFlowTheme.of(context) .primary, icon: const Icon( Icons.menu_rounded, color: Colors.white, size: 28.0, ), onPressed: () async { scaffoldKey.currentState! .openDrawer(); }, ), ), ), Align( alignment: const AlignmentDirectional(-1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 60.0, 15.0, 0.0, 0.0), child: ClipRRect( borderRadius: BorderRadius.circular(8.0), child: Image.network( 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/8r2vsbd9i03k/logo.png', width: 50.0, height: 200.0, fit: BoxFit.none, ), ), ), ), Align( alignment: const AlignmentDirectional(0.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 15.0, 0.0, 0.0), child: Text( FFLocalizations.of(context) .getText( 'rg9pzkpz' /* FRE ACCESS */, ), style: FlutterFlowTheme.of(context) .bodyMedium .override( fontFamily: FlutterFlowTheme.of( context) .bodyMediumFamily, color: FlutterFlowTheme .of(context) .info, letterSpacing: 0.0, useGoogleFonts: GoogleFonts .asMap() .containsKey( FlutterFlowTheme.of( context) .bodyMediumFamily), ), ), ), ), ], ), ), ), ), Align( alignment: const AlignmentDirectional(0.0, 1.0), child: Container( width: 100.0, height: 50.0, decoration: const BoxDecoration(), child: Align( alignment: const AlignmentDirectional(1.0, 1.0), child: FlutterFlowIconButton( borderRadius: 20.0, borderWidth: 1.0, buttonSize: 40.0, icon: Icon( Icons.notifications_sharp, color: FlutterFlowTheme.of(context).info, size: 24.0, ), onPressed: () { print('IconButton pressed ...'); }, ), ), ), ), ], ), ), ), ], ), Container( decoration: const BoxDecoration(), child: Align( alignment: const AlignmentDirectional(0.0, -1.0), child: Material( color: Colors.transparent, elevation: 0.0, child: Container( width: double.infinity, height: 119.0, decoration: BoxDecoration( color: const Color(0xFF1AAB5F), border: Border.all( color: const Color(0xFF1AAB5F), ), ), child: Row( mainAxisSize: MainAxisSize.max, children: [ Align( alignment: const AlignmentDirectional(-1.0, 0.0), child: Padding( padding: const EdgeInsets.all(2.0), child: InkWell( splashColor: Colors.transparent, focusColor: Colors.transparent, hoverColor: Colors.transparent, highlightColor: Colors.transparent, onTap: () async { showModalBottomSheet( isScrollControlled: true, backgroundColor: const Color(0x00FFFFFF), context: context, builder: (context) { return GestureDetector( onTap: () => _model.unfocusNode .canRequestFocus ? FocusScope.of(context) .requestFocus( _model.unfocusNode) : FocusScope.of(context) .unfocus(), child: Padding( padding: MediaQuery.viewInsetsOf( context), child: const SizedBox( height: double.infinity, child: BottomArrowLinkedLocalsComponentWidget(), ), ), ); }, ).then( (value) => safeSetState(() {})); }, child: ClipRRect( borderRadius: BorderRadius.circular(200.0), child: Image.network( valueOrDefault( 'https://freaccess.com.br/freaccess/Images/Clients/${FFAppState().cliUUID}.png', 'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg', ), width: 80.0, height: 80.0, fit: BoxFit.cover, alignment: const Alignment(0.0, 0.0), errorBuilder: (context, error, stackTrace) => Image.asset( 'assets/images/error_image.svg', width: 80.0, height: 80.0, fit: BoxFit.cover, alignment: const Alignment(0.0, 0.0), ), ), ), ), ), ), Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.center, children: [ Text( valueOrDefault( functions.convertToUppercase( FFAppState().local), 'NOME DO LOCAL', ), style: FlutterFlowTheme.of(context) .labelMedium .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context) .info, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap() .containsKey('Nunito'), ), ), ], ), ] .divide(const SizedBox(width: 20.0)) .addToStart(const SizedBox(width: 20.0)) .addToEnd(const SizedBox(width: 20.0)), ), ), ), ), ), Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: [ Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 10.0, 0.0, 0.0), child: Builder( builder: (context) { if (_model.isGrid == true) { return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: [ Padding( padding: const EdgeInsetsDirectional.fromSTEB( 5.0, 0.0, 5.0, 0.0), child: Container( width: double.infinity, height: 125.0, decoration: const BoxDecoration(), child: ListView( padding: const EdgeInsets.fromLTRB( 10.0, 0, 10.0, 0, ), scrollDirection: Axis.horizontal, children: [ Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector1, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'b2qdcsh0' /* Agendar Visita */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'intigjrx' /* Cadastrar Visitante */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .khome, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'dcpn2r8i' /* Vincular Condomínio */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kpets, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'rt57fpea' /* Cadastrar Pet */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector2, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'e7o77oeh' /* QR Code de Acesso */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .people, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'xua67fn9' /* Pessoas na Propriedade */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .history_sharp, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'hli1jd0i' /* Consultar Históricos */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .history_sharp, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'kbvld4ht' /* Histórico de Acesso */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), Padding( padding: const EdgeInsetsDirectional .fromSTEB( 0.0, 10.0, 0.0, 20.0), child: Container( width: 100.0, height: double.infinity, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme.of( context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional .fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of( context) .primaryBackground, shape: BoxShape .circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .history_sharp, color: FlutterFlowTheme.of( context) .accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'csz6cjye' /* Histórico de Liberação */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of( context) .primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight .w500, useGoogleFonts: GoogleFonts .asMap() .containsKey( 'Nunito'), ), ), ), ], ), ), ].divide( const SizedBox(height: 0.0)), ), ), ), ), ].divide(const SizedBox(width: 15.0)), ), ), ), Align( alignment: const AlignmentDirectional(0.0, 0.0), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 20.0, borderWidth: 1.0, buttonSize: 50.0, fillColor: const Color(0x00FFFFFF), icon: Icon( Icons.keyboard_arrow_down_outlined, color: FlutterFlowTheme.of(context) .primary, ), onPressed: () { print('IconButton pressed ...'); }, ), ), ], ); } else { return Wrap( spacing: 0.0, runSpacing: 0.0, alignment: WrapAlignment.start, crossAxisAlignment: WrapCrossAlignment.start, direction: Axis.horizontal, runAlignment: WrapAlignment.start, verticalDirection: VerticalDirection.down, clipBehavior: Clip.none, children: [ Container( width: double.infinity, height: MediaQuery.sizeOf(context).height * 0.498, decoration: const BoxDecoration(), child: Padding( padding: const EdgeInsets.all(14.0), child: MasonryGridView.builder( physics: const NeverScrollableScrollPhysics(), gridDelegate: const SliverSimpleGridDelegateWithFixedCrossAxisCount( crossAxisCount: 3, ), crossAxisSpacing: 10.0, mainAxisSpacing: 10.0, itemCount: 9, padding: const EdgeInsets.fromLTRB( 0, 10.0, 0, 10.0, ), shrinkWrap: true, itemBuilder: (context, index) { return [ () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector1, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'lzag0674' /* Agendar Visita */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'mopkb1cs' /* Cadastrar Visitante */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .khome, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( '9n0bfmlf' /* Vincular Condomínio */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kpets, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( '3hkp1x8r' /* Cadastrar Pet */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( FFIcons .kvector2, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'fi81uwmz' /* QR Code de Acesso */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .people, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( '1djx7nvm' /* Pessoas na Propriedade */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .history_sharp, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'ttj9zmi8' /* Histórico de Acesso */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .history_sharp, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'h989n5uy' /* Histórico de Liberação */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), () => Container( width: 100.0, height: 100.0, decoration: BoxDecoration( color: FlutterFlowTheme .of(context) .primaryBackground, boxShadow: [ BoxShadow( blurRadius: 4.0, color: FlutterFlowTheme .of(context) .customColor5, offset: const Offset( 0.0, 2.0, ), ) ], borderRadius: BorderRadius.circular( 24.0), shape: BoxShape.rectangle, border: Border.all( color: FlutterFlowTheme.of( context) .alternate, width: 0.5, ), ), child: Padding( padding: const EdgeInsets.all(4.0), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment .spaceEvenly, crossAxisAlignment: CrossAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .max, mainAxisAlignment: MainAxisAlignment .center, children: [ Expanded( child: Align( alignment: const AlignmentDirectional( -1.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 8.0, 0.0, 0.0, 0.0), child: Container( width: 30.0, height: 30.0, decoration: BoxDecoration( color: FlutterFlowTheme.of(context).primaryBackground, shape: BoxShape.circle, ), alignment: const AlignmentDirectional( 0.0, 0.0), child: Icon( Icons .settings_rounded, color: FlutterFlowTheme.of(context).accent1, size: 24.0, ), ), ), ), ), ], ), ), Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Row( mainAxisSize: MainAxisSize .min, mainAxisAlignment: MainAxisAlignment .center, children: [ Align( alignment: const AlignmentDirectional( 0.0, 0.0), child: Text( FFLocalizations.of( context) .getText( 'fx7ci8gw' /* Preferencias do Sistema */ , ), style: FlutterFlowTheme.of( context) .titleLarge .override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, fontSize: 14.0, letterSpacing: 0.0, fontWeight: FontWeight.w500, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), ), ), ), ], ), ), ].divide(const SizedBox( height: 0.0)), ), ), ), ][index](); }, ), ), ), Align( alignment: const AlignmentDirectional(0.0, 0.0), child: Container( decoration: const BoxDecoration( borderRadius: BorderRadius.only( bottomLeft: Radius.circular(0.0), bottomRight: Radius.circular(0.0), topLeft: Radius.circular(0.0), topRight: Radius.circular(0.0), ), ), alignment: const AlignmentDirectional(0.0, 0.0), child: Align( alignment: const AlignmentDirectional(0.0, 0.0), child: FlutterFlowIconButton( borderColor: Colors.transparent, borderRadius: 20.0, borderWidth: 1.0, buttonSize: 50.0, fillColor: const Color(0x00FFFFFF), icon: Icon( Icons.keyboard_arrow_up_sharp, color: FlutterFlowTheme.of(context) .primary, ), onPressed: () { print('IconButton pressed ...'); }, ), ), ), ), ], ); } }, ), ), Align( alignment: const AlignmentDirectional(0.0, 0.0), child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 40.0, 0.0, 0.0), child: Container( width: double.infinity, height: 167.0, decoration: const BoxDecoration(), child: Column( mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.end, children: [ Text( FFLocalizations.of(context).getText( 'rgpcq2s6' /* Mural de Mensagens */, ), style: FlutterFlowTheme.of(context) .bodyMedium .override( fontFamily: 'Nunito Sans', letterSpacing: 0.0, useGoogleFonts: GoogleFonts.asMap() .containsKey('Nunito Sans'), ), ), Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 5.0, 0.0, 0.0), child: FFButtonWidget( onPressed: () { print('Button pressed ...'); }, text: FFLocalizations.of(context).getText( 'bdvbpuo8' /* Todos */, ), options: FFButtonOptions( width: 260.0, height: 20.0, padding: const EdgeInsetsDirectional.fromSTEB( 24.0, 0.0, 24.0, 0.0), iconPadding: const EdgeInsetsDirectional.fromSTEB( 0.0, 0.0, 0.0, 0.0), color: const Color(0xFF1AAB5F), textStyle: FlutterFlowTheme.of(context) .labelMedium .override( fontFamily: FlutterFlowTheme.of(context) .labelMediumFamily, color: FlutterFlowTheme.of(context) .customColor4, letterSpacing: 0.0, fontWeight: FontWeight.normal, useGoogleFonts: GoogleFonts .asMap() .containsKey( FlutterFlowTheme.of( context) .labelMediumFamily), ), elevation: 3.0, borderSide: const BorderSide( color: Colors.transparent, width: 1.0, ), borderRadius: BorderRadius.circular(8.0), ), ), ), Expanded( child: Padding( padding: const EdgeInsetsDirectional.fromSTEB( 0.0, 10.0, 0.0, 0.0), child: Container( width: 464.0, height: 127.0, decoration: const BoxDecoration( shape: BoxShape.rectangle, ), child: ListView( padding: EdgeInsets.zero, scrollDirection: Axis.vertical, children: const [], ), ), ), ), ], ), ), ), ), ], ), ], ), ], ), ), ), ), ); } }