buildLoginWeb method

Widget buildLoginWeb(
  1. BuildContext context
)

Implementation

Widget buildLoginWeb(BuildContext context) {
  return Container(
    color: Theme.of(context).canvasColor,
    child: Stack(
      children: [
        Align(
          alignment: Alignment.topLeft,
            child: Padding(
              padding: const EdgeInsets.all(5.0),
              child: AppUtils.buildClientLogo(appConfigService.getClientType(), height: 150, width: 150),
            )),
        Row(
          children: [
            Expanded(
                flex: 4,
                child: Container(
                  color: AppColors.blue.withOpacity(0.1),
                  child: Center(
                    child: SvgPicture.asset(
                        'assets/images/login_background.svg',
                        package: 'shared_component'),
                  ),
                )),
            Expanded(
                flex: 3,
                child: Container(
                  padding: const EdgeInsets.symmetric(horizontal: 100.0),
                  child: buildLoginForm(context),
                ))
          ],
        ),
        buildShowVersion(),
        buildLoader()
      ],
    ),
  );
}