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