SectionContainer constructor
const
SectionContainer({
- Key? key,
- Widget? titleView,
- required List<
Widget> children, - double? width,
- double? height,
- EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(8.0, 12.0, 8.0, 16.0),
- double borderRadius = 12.0,
- Widget? trailing,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- bool glassMorphismEffect = true,
Implementation
const SectionContainer({
super.key,
this.titleView,
required this.children,
this.width,
this.height,
// this.padding = const EdgeInsets.all(8.0),
this.padding = const EdgeInsets.fromLTRB(8.0, 12.0, 8.0, 16.0),
this.borderRadius = 12.0,
this.trailing,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.glassMorphismEffect = true,
});