buildWidget abstract method
Describes the part of the user interface represented by this widget, replace build for create interface.
@override
Widget buildWidget(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text(context.s.login)),
body: ListView(
padding: const EdgeInsets.all(16),
children: [
ThirdLoginButton(
onFacebookPressed: cubit.onLoginWithFacebookPressed,
onGooglePressed: cubit.onLoginWithGooglePressed,
onApplePressed: cubit.onLoginWithApplePressed,
),
const GitsSpacing.vertical36(),
const DividerOr(),
const GitsSpacing.vertical36(),
const LoginWithEmail(),
const GitsSpacing.vertical32(),
const NewRegister(),
],
),
);
}
Implementation
Widget buildWidget(BuildContext context);