Page 61 - MDP2022-3
P. 61
.override(
fontFamily: 'noto',
fontSize: 15,
useGoogleFonts: false,
),
),
),
Padding(
padding: EdgeInsetsDirectional
.fromSTEB(0, 24, 0, 0),
child: FFButtonWidget(
onPressed: () async {
final user =
await signInWithEmail(
context,
emailAddressLoginController!
.text,
passwordLoginController!
.text,
);
if (user == null) {
return;
}
await Navigator
.pushAndRemoveUntil(
context,
MaterialPageRoute(
builder: (context) =>
NavBarPage(
initialPage:
'homePage'),
),
(r) => false,
);
},
text: '로그인',
options: FFButtonOptions(
width: 230,
height: 50,
color: Color(0xFFFF5F64),
textStyle:
FlutterFlowTheme.of(
context)