Fix: Adicionado um center para manter a coluna centralizada
This commit is contained in:
parent
74408e55cd
commit
f87641e5f4
|
@ -26,22 +26,24 @@ class _ReceptionPageWidgetState extends State<ReceptionPageWidget> {
|
||||||
body: Consumer<ReceptionPageModel>(
|
body: Consumer<ReceptionPageModel>(
|
||||||
builder: (context, ReceptionPageModel model, child) {
|
builder: (context, ReceptionPageModel model, child) {
|
||||||
return SafeArea(
|
return SafeArea(
|
||||||
|
child: Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.fromLTRB(50, 0, 50, 15.0),
|
padding: const EdgeInsets.fromLTRB(45, 0, 45, 15.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
FFLocalizations.of(context).getVariableText(
|
FFLocalizations.of(context).getVariableText(
|
||||||
ptText:
|
ptText:
|
||||||
'Falta pouco para você\nutilizar o FRE Access Hub...',
|
'Falta pouco para você utilizar o FRE Access Hub...',
|
||||||
enText:
|
enText:
|
||||||
'You are close to using the FRE Access Hub...'),
|
'You are close to using the FRE Access Hub...'),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style:
|
style: FlutterFlowTheme.of(context)
|
||||||
FlutterFlowTheme.of(context).displayLarge.override(
|
.displayLarge
|
||||||
|
.override(
|
||||||
fontFamily: 'Plus Jakarta Sans',
|
fontFamily: 'Plus Jakarta Sans',
|
||||||
color: FlutterFlowTheme.of(context).accent1,
|
color: FlutterFlowTheme.of(context).accent1,
|
||||||
fontSize: 20.0,
|
fontSize: 20.0,
|
||||||
|
@ -101,7 +103,8 @@ class _ReceptionPageWidgetState extends State<ReceptionPageWidget> {
|
||||||
),
|
),
|
||||||
child: FFButtonWidget(
|
child: FFButtonWidget(
|
||||||
onPressed: () => model.getIdenfifier(context),
|
onPressed: () => model.getIdenfifier(context),
|
||||||
text: FFLocalizations.of(context).getVariableText(
|
text: FFLocalizations.of(context)
|
||||||
|
.getVariableText(
|
||||||
ptText: 'Meu Identificador',
|
ptText: 'Meu Identificador',
|
||||||
enText: 'My Identifier'),
|
enText: 'My Identifier'),
|
||||||
options: FFButtonOptions(
|
options: FFButtonOptions(
|
||||||
|
@ -161,9 +164,11 @@ class _ReceptionPageWidgetState extends State<ReceptionPageWidget> {
|
||||||
height: 44.0,
|
height: 44.0,
|
||||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||||
0.0, 0.0, 0.0, 0.0),
|
0.0, 0.0, 0.0, 0.0),
|
||||||
iconPadding: const EdgeInsetsDirectional.fromSTEB(
|
iconPadding:
|
||||||
|
const EdgeInsetsDirectional.fromSTEB(
|
||||||
0.0, 0.0, 0.0, 0.0),
|
0.0, 0.0, 0.0, 0.0),
|
||||||
color: FlutterFlowTheme.of(context).customColor1,
|
color:
|
||||||
|
FlutterFlowTheme.of(context).customColor1,
|
||||||
textStyle: FlutterFlowTheme.of(context)
|
textStyle: FlutterFlowTheme.of(context)
|
||||||
.titleSmall
|
.titleSmall
|
||||||
.override(
|
.override(
|
||||||
|
@ -191,6 +196,7 @@ class _ReceptionPageWidgetState extends State<ReceptionPageWidget> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue