This commit is contained in:
jantunesmesias 2024-08-27 13:29:27 -03:00
parent 45cbcb9b39
commit d0fc445714
4 changed files with 60 additions and 111 deletions

View File

@ -266,7 +266,7 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
}, },
title: FFLocalizations.of(context).getVariableText( title: FFLocalizations.of(context).getVariableText(
enText: 'Message\nHistory', enText: 'Message\nHistory',
ptText: 'Consultar\nMessages', ptText: 'Consultar\nMensagens',
), ),
), ),
MenuButtonWidget( MenuButtonWidget(
@ -516,7 +516,7 @@ class _MenuComponentWidgetState extends State<MenuComponentWidget> {
}, },
title: FFLocalizations.of(context).getVariableText( title: FFLocalizations.of(context).getVariableText(
enText: 'Message History', enText: 'Message History',
ptText: 'Consultar Messages', ptText: 'Consultar Mensagens',
), ),
), ),
MenuCardItem( MenuCardItem(

View File

@ -119,7 +119,7 @@ class _CardItemTemplateComponentWidgetState
return Container( return Container(
padding: const EdgeInsets.all(5), padding: const EdgeInsets.all(5),
width: MediaQuery.of(context).size.width * 0.2, width: MediaQuery.of(context).size.width * 0.25,
decoration: BoxDecoration( decoration: BoxDecoration(
color: color, color: color,
borderRadius: BorderRadius.circular(5), borderRadius: BorderRadius.circular(5),

View File

@ -64,7 +64,7 @@ class _DeliveryScheduleState extends State<DeliverySchedule> {
style: FlutterFlowTheme.of(context).headlineMedium.override( style: FlutterFlowTheme.of(context).headlineMedium.override(
fontFamily: 'Nunito', fontFamily: 'Nunito',
color: FlutterFlowTheme.of(context).primaryText, color: FlutterFlowTheme.of(context).primaryText,
fontSize: 16.0, fontSize: 15.0,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
letterSpacing: 0.0, letterSpacing: 0.0,
useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'), useGoogleFonts: GoogleFonts.asMap().containsKey('Nunito'),

View File

@ -137,36 +137,19 @@ class _HomePageWidgetState extends State<HomePageWidget> {
); );
} }
Row createHeader(BuildContext context) { Widget createHeader(BuildContext context) {
return Row( return Container(
mainAxisSize: MainAxisSize.max,
children: [
Expanded(
child: Container(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height * 0.1, height: MediaQuery.of(context).size.height * 0.1,
decoration: const BoxDecoration( decoration: const BoxDecoration(
color: Color(0xFF1AAB5F), color: Color(0xFF1AAB5F),
), ),
child: Row( child: Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Align( Padding(
alignment: const AlignmentDirectional(0.0, 1.0), padding: const EdgeInsetsDirectional.fromSTEB(10.0, 0.0, 0.0, 0.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( child: FlutterFlowIconButton(
borderRadius: 20.0, borderRadius: 20.0,
borderWidth: 1.0, borderWidth: 1.0,
@ -182,10 +165,11 @@ class _HomePageWidgetState extends State<HomePageWidget> {
}, },
), ),
), ),
), Expanded(
Align( child: Row(
alignment: const AlignmentDirectional(-1.0, 0.0), mainAxisAlignment: MainAxisAlignment.start,
child: Padding( children: [
Padding(
padding: const EdgeInsetsDirectional.fromSTEB( padding: const EdgeInsetsDirectional.fromSTEB(
60.0, 15.0, 0.0, 0.0), 60.0, 15.0, 0.0, 0.0),
child: ClipRRect( child: ClipRRect(
@ -198,61 +182,26 @@ class _HomePageWidgetState extends State<HomePageWidget> {
), ),
), ),
), ),
), Padding(
Align( padding:
alignment: const AlignmentDirectional(0.0, 0.0), const EdgeInsetsDirectional.fromSTEB(0.0, 15.0, 0.0, 0.0),
child: Padding(
padding: const EdgeInsetsDirectional.fromSTEB(
0.0, 15.0, 0.0, 0.0),
child: Text( child: Text(
'FRE ACCESS', 'FRE ACCESS',
style: FlutterFlowTheme.of(context) style: FlutterFlowTheme.of(context).bodyMedium.override(
.bodyMedium fontFamily:
.override( FlutterFlowTheme.of(context).bodyMediumFamily,
fontFamily: FlutterFlowTheme.of(context)
.bodyMediumFamily,
color: FlutterFlowTheme.of(context).info, color: FlutterFlowTheme.of(context).info,
letterSpacing: 0.0, letterSpacing: 0.0,
useGoogleFonts: GoogleFonts.asMap() useGoogleFonts: GoogleFonts.asMap().containsKey(
.containsKey( FlutterFlowTheme.of(context).bodyMediumFamily),
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: () {},
// ),
// ),
// ),
// ),
],
), ),
), ),
), ),
], ],
),
),
],
),
); );
} }