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

View File

@ -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),

View File

@ -64,7 +64,7 @@ class _DeliveryScheduleState extends State<DeliverySchedule> {
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'),

View File

@ -137,36 +137,19 @@ class _HomePageWidgetState extends State<HomePageWidget> {
);
}
Row createHeader(BuildContext context) {
return Row(
mainAxisSize: MainAxisSize.max,
children: [
Expanded(
child: Container(
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.min,
mainAxisSize: MainAxisSize.max,
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),
Padding(
padding: const EdgeInsetsDirectional.fromSTEB(10.0, 0.0, 0.0, 0.0),
child: FlutterFlowIconButton(
borderRadius: 20.0,
borderWidth: 1.0,
@ -182,10 +165,11 @@ class _HomePageWidgetState extends State<HomePageWidget> {
},
),
),
),
Align(
alignment: const AlignmentDirectional(-1.0, 0.0),
child: Padding(
Expanded(
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsetsDirectional.fromSTEB(
60.0, 15.0, 0.0, 0.0),
child: ClipRRect(
@ -198,61 +182,26 @@ class _HomePageWidgetState extends State<HomePageWidget> {
),
),
),
),
Align(
alignment: const AlignmentDirectional(0.0, 0.0),
child: Padding(
padding: const EdgeInsetsDirectional.fromSTEB(
0.0, 15.0, 0.0, 0.0),
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,
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: () {},
// ),
// ),
// ),
// ),
],
useGoogleFonts: GoogleFonts.asMap().containsKey(
FlutterFlowTheme.of(context).bodyMediumFamily),
),
),
),
],
),
),
],
),
);
}