Layout constructor
const
Layout({
- Key? key,
- AppBar? appBar,
- required List<
Widget> children, - double top = 32.0,
- double bottom = 32.0,
- double spacing = 32.0,
- double sideMargin = 0,
- double maxWidth = 400.0,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
Implementation
const Layout({
Key? key,
this.appBar,
required this.children,
this.top = 32.0,
this.bottom = 32.0,
this.spacing = 32.0,
this.sideMargin = 0,
this.maxWidth = 400.0,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.mainAxisAlignment = MainAxisAlignment.center,
}) : super(key: key);