narrowView method

SingleChildScrollView narrowView(
  1. FormSwitcher formSwitcher
)

The layout of the page when the screen width is less than 600.

Implementation

SingleChildScrollView narrowView(FormSwitcher formSwitcher) {
  return SingleChildScrollView(
    child: Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        const Padding(
          padding: EdgeInsets.symmetric(horizontal: 48, vertical: 32.0),
          child: Image(image: AssetImage('assets/LogoWit.png')),
        ),
        formSwitcher,
      ],
    ),
  );
}