diff --git a/lib/components/organism_components/menu_component/menu_component_widget.dart b/lib/components/organism_components/menu_component/menu_component_widget.dart index 83b2d255..96489102 100644 --- a/lib/components/organism_components/menu_component/menu_component_widget.dart +++ b/lib/components/organism_components/menu_component/menu_component_widget.dart @@ -266,7 +266,7 @@ class _MenuComponentWidgetState extends State { }, title: FFLocalizations.of(context).getVariableText( enText: 'Message\nHistory', - ptText: 'Consultar\nMessages', + ptText: 'Consultar\nMensagens', ), ), MenuButtonWidget( @@ -516,7 +516,7 @@ class _MenuComponentWidgetState extends State { }, title: FFLocalizations.of(context).getVariableText( enText: 'Message History', - ptText: 'Consultar Messages', + ptText: 'Consultar Mensagens', ), ), MenuCardItem( diff --git a/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart b/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart index c9937a2b..47d9b7de 100644 --- a/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart +++ b/lib/components/templates_components/card_item_template_component/card_item_template_component_widget.dart @@ -119,7 +119,7 @@ class _CardItemTemplateComponentWidgetState return Container( padding: const EdgeInsets.all(5), - width: MediaQuery.of(context).size.width * 0.2, + width: MediaQuery.of(context).size.width * 0.25, decoration: BoxDecoration( color: color, borderRadius: BorderRadius.circular(5), diff --git a/lib/pages/delivery_schedule_page/delivery_schedule_widget.dart b/lib/pages/delivery_schedule_page/delivery_schedule_widget.dart index 11ee897d..2d75026e 100644 --- a/lib/pages/delivery_schedule_page/delivery_schedule_widget.dart +++ b/lib/pages/delivery_schedule_page/delivery_schedule_widget.dart @@ -64,7 +64,7 @@ class _DeliveryScheduleState extends State { style: FlutterFlowTheme.of(context).headlineMedium.override( fontFamily: 'Nunito', color: FlutterFlowTheme.of(context).primaryText, - fontSize: 16.0, + fontSize: 15.0, fontWeight: FontWeight.bold, letterSpacing: 0.0, useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), diff --git a/lib/pages/home_page/home_page_widget.dart b/lib/pages/home_page/home_page_widget.dart index 2dbff3cf..e7098126 100644 --- a/lib/pages/home_page/home_page_widget.dart +++ b/lib/pages/home_page/home_page_widget.dart @@ -137,122 +137,71 @@ class _HomePageWidgetState extends State { ); } - Row createHeader(BuildContext context) { - return Row( - mainAxisSize: MainAxisSize.max, - children: [ - Expanded( - child: Container( - width: MediaQuery.of(context).size.width, - height: MediaQuery.of(context).size.height * 0.1, - decoration: const BoxDecoration( - color: Color(0xFF1AAB5F), + Widget createHeader(BuildContext context) { + return Container( + width: MediaQuery.of(context).size.width, + height: MediaQuery.of(context).size.height * 0.1, + decoration: const BoxDecoration( + color: Color(0xFF1AAB5F), + ), + child: Row( + mainAxisSize: MainAxisSize.max, + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + 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(); + }, ), + ), + Expanded( child: Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.spaceBetween, + mainAxisAlignment: MainAxisAlignment.start, 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.asset( - 'assets/images/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( - '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), - ), - ), - ), - ), - ], - ), + Padding( + padding: const EdgeInsetsDirectional.fromSTEB( + 60.0, 15.0, 0.0, 0.0), + child: ClipRRect( + borderRadius: BorderRadius.circular(8.0), + child: Image.asset( + 'assets/images/logo.png', + width: 50.0, + height: 200.0, + fit: BoxFit.none, ), ), ), - // 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: () {}, - // ), - // ), - // ), - // ), + Padding( + padding: + const EdgeInsetsDirectional.fromSTEB(0.0, 15.0, 0.0, 0.0), + child: Text( + '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), + ), + ), + ), ], ), ), - ), - ], + ], + ), ); }