smallScreen method
Implementation
Scaffold smallScreen(BuildContext context) {
return Scaffold(
appBar: webStructController.appBar ??
AppBar(
title: Text(title),
),
drawer: webStructController.drawer,
body: [
typePage == TypePage.SCROLLVIEW
? SingleChildScrollView(
child: [
smallContent(context),
webStructController.footer ?? const SizedBox()
].listToColumn(),
).withExpanded()
: [
smallContent(context).withFlexible(),
webStructController.footer ?? const SizedBox()
].listToColumn().withExpanded(),
].listToColumn(),
);
}